| Modifier and Type | Method and Description |
|---|---|
Branding |
build()
Builds a new
Branding. |
Branding.Builder |
companyName(String companyName)
Initializes the value for the
companyName attribute. |
Branding.Builder |
footerLegalText(String footerLegalText)
Initializes the value for the
footerLegalText attribute. |
Branding.Builder |
footerLink(Map.Entry<String,? extends String> entry)
Put one entry to the
footerLinks map. |
Branding.Builder |
footerLink(String key,
String value)
Put one entry to the
footerLinks map. |
Branding.Builder |
footerLinks(Map<String,? extends String> footerLinks)
Sets or replaces all mappings from the specified map as entries for the
footerLinks map. |
Branding.Builder |
from(Branding instance)
Fill a builder with attribute values from the provided
Branding instance. |
Branding.Builder |
productLogo(String productLogo)
Initializes the value for the
productLogo attribute. |
Branding.Builder |
putAllFooterLinks(Map<String,? extends String> footerLinks)
Put all mappings from the specified map as entries to
footerLinks map. |
Branding.Builder |
squareLogo(String squareLogo)
Initializes the value for the
squareLogo attribute. |
public final Branding.Builder from(Branding instance)
Branding instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final Branding.Builder companyName(String companyName)
companyName attribute.companyName - The value for companyName (can be null)this builder for use in a chained invocationpublic final Branding.Builder footerLegalText(String footerLegalText)
footerLegalText attribute.footerLegalText - The value for footerLegalText (can be null)this builder for use in a chained invocationpublic final Branding.Builder footerLink(String key, String value)
footerLinks map.key - The key in the footerLinks mapvalue - The associated value in the footerLinks mapthis builder for use in a chained invocationpublic final Branding.Builder footerLink(Map.Entry<String,? extends String> entry)
footerLinks map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final Branding.Builder footerLinks(Map<String,? extends String> footerLinks)
footerLinks map. Nulls are not permitted as keys or values, but parameter itself can be nullfooterLinks - The entries that will be added to the footerLinks mapthis builder for use in a chained invocationpublic final Branding.Builder putAllFooterLinks(Map<String,? extends String> footerLinks)
footerLinks map. Nulls are not permittedfooterLinks - The entries that will be added to the footerLinks mapthis builder for use in a chained invocationpublic final Branding.Builder productLogo(String productLogo)
productLogo attribute.productLogo - The value for productLogo (can be null)this builder for use in a chained invocationpublic final Branding.Builder squareLogo(String squareLogo)
squareLogo attribute.squareLogo - The value for squareLogo (can be null)this builder for use in a chained invocationpublic Branding build()
Branding.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.