public static final class UpdateMetadataResponse.Builder extends Object
UpdateMetadataResponse.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
UpdateMetadataResponse.Builder |
appIcon(String appIcon)
Initializes the value for the
appIcon attribute. |
UpdateMetadataResponse.Builder |
appLaunchUrl(String appLaunchUrl)
Initializes the value for the
appLaunchUrl attribute. |
UpdateMetadataResponse |
build()
Builds a new
UpdateMetadataResponse. |
UpdateMetadataResponse.Builder |
clientId(String clientId)
Initializes the value for the
clientId attribute. |
UpdateMetadataResponse.Builder |
clientName(String clientName)
Initializes the value for the
clientName attribute. |
UpdateMetadataResponse.Builder |
from(org.cloudfoundry.uaa.clients.AbstractMetadata instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.uaa.clients.AbstractMetadata instance. |
UpdateMetadataResponse.Builder |
from(UpdateMetadataResponse instance)
Fill a builder with attribute values from the provided
UpdateMetadataResponse instance. |
UpdateMetadataResponse.Builder |
showOnHomePage(Boolean showOnHomePage)
Initializes the value for the
showOnHomePage attribute. |
public final UpdateMetadataResponse.Builder from(org.cloudfoundry.uaa.clients.AbstractMetadata instance)
org.cloudfoundry.uaa.clients.AbstractMetadata instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateMetadataResponse.Builder from(UpdateMetadataResponse instance)
UpdateMetadataResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateMetadataResponse.Builder appIcon(String appIcon)
appIcon attribute.appIcon - The value for appIconthis builder for use in a chained invocationpublic final UpdateMetadataResponse.Builder appLaunchUrl(String appLaunchUrl)
appLaunchUrl attribute.appLaunchUrl - The value for appLaunchUrlthis builder for use in a chained invocationpublic final UpdateMetadataResponse.Builder clientId(String clientId)
clientId attribute.clientId - The value for clientIdthis builder for use in a chained invocationpublic final UpdateMetadataResponse.Builder clientName(String clientName)
clientName attribute.clientName - The value for clientName (can be null)this builder for use in a chained invocationpublic final UpdateMetadataResponse.Builder showOnHomePage(Boolean showOnHomePage)
showOnHomePage attribute.showOnHomePage - The value for showOnHomePagethis builder for use in a chained invocationpublic UpdateMetadataResponse build()
UpdateMetadataResponse.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.