public static final class GetInfoResponse.Builder extends Object
GetInfoResponse.
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 |
|---|---|
GetInfoResponse.Builder |
apiVersion(String apiVersion)
Initializes the value for the
apiVersion attribute. |
GetInfoResponse.Builder |
applicationSshEndpoint(String applicationSshEndpoint)
Initializes the value for the
applicationSshEndpoint attribute. |
GetInfoResponse.Builder |
applicationSshHostKeyFingerprint(String applicationSshHostKeyFingerprint)
Initializes the value for the
applicationSshHostKeyFingerprint attribute. |
GetInfoResponse.Builder |
applicationSshOAuthClient(String applicationSshOAuthClient)
Initializes the value for the
applicationSshOAuthClient attribute. |
GetInfoResponse.Builder |
authorizationEndpoint(String authorizationEndpoint)
Initializes the value for the
authorizationEndpoint attribute. |
GetInfoResponse |
build()
Builds a new
GetInfoResponse. |
GetInfoResponse.Builder |
buildNumber(String buildNumber)
Initializes the value for the
buildNumber attribute. |
GetInfoResponse.Builder |
description(String description)
Initializes the value for the
description attribute. |
GetInfoResponse.Builder |
dopplerLoggingEndpoint(String dopplerLoggingEndpoint)
Initializes the value for the
dopplerLoggingEndpoint attribute. |
GetInfoResponse.Builder |
from(GetInfoResponse instance)
Fill a builder with attribute values from the provided
GetInfoResponse instance. |
GetInfoResponse.Builder |
loggingEndpoint(String loggingEndpoint)
Initializes the value for the
loggingEndpoint attribute. |
GetInfoResponse.Builder |
minCliVersion(String minCliVersion)
Initializes the value for the
minCliVersion attribute. |
GetInfoResponse.Builder |
minRecommendedCliVersion(String minRecommendedCliVersion)
Initializes the value for the
minRecommendedCliVersion attribute. |
GetInfoResponse.Builder |
name(String name)
Initializes the value for the
name attribute. |
GetInfoResponse.Builder |
routingEndpoint(String routingEndpoint)
Initializes the value for the
routingEndpoint attribute. |
GetInfoResponse.Builder |
support(String support)
Initializes the value for the
support attribute. |
GetInfoResponse.Builder |
tokenEndpoint(String tokenEndpoint)
Initializes the value for the
tokenEndpoint attribute. |
GetInfoResponse.Builder |
user(String user)
Initializes the value for the
user attribute. |
GetInfoResponse.Builder |
version(Integer version)
Initializes the value for the
version attribute. |
public final GetInfoResponse.Builder from(GetInfoResponse instance)
GetInfoResponse instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetInfoResponse.Builder apiVersion(String apiVersion)
apiVersion attribute.apiVersion - The value for apiVersion (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder applicationSshEndpoint(String applicationSshEndpoint)
applicationSshEndpoint attribute.applicationSshEndpoint - The value for applicationSshEndpoint (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder applicationSshHostKeyFingerprint(String applicationSshHostKeyFingerprint)
applicationSshHostKeyFingerprint attribute.applicationSshHostKeyFingerprint - The value for applicationSshHostKeyFingerprint (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder applicationSshOAuthClient(String applicationSshOAuthClient)
applicationSshOAuthClient attribute.applicationSshOAuthClient - The value for applicationSshOAuthClient (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder authorizationEndpoint(String authorizationEndpoint)
authorizationEndpoint attribute.authorizationEndpoint - The value for authorizationEndpoint (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder buildNumber(String buildNumber)
buildNumber attribute.buildNumber - The value for buildNumber (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder description(String description)
description attribute.description - The value for description (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder dopplerLoggingEndpoint(String dopplerLoggingEndpoint)
dopplerLoggingEndpoint attribute.dopplerLoggingEndpoint - The value for dopplerLoggingEndpoint (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder loggingEndpoint(String loggingEndpoint)
loggingEndpoint attribute.loggingEndpoint - The value for loggingEndpoint (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder minCliVersion(String minCliVersion)
minCliVersion attribute.minCliVersion - The value for minCliVersion (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder minRecommendedCliVersion(String minRecommendedCliVersion)
minRecommendedCliVersion attribute.minRecommendedCliVersion - The value for minRecommendedCliVersion (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder name(String name)
name attribute.name - The value for name (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder routingEndpoint(String routingEndpoint)
routingEndpoint attribute.routingEndpoint - The value for routingEndpoint (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder support(String support)
support attribute.support - The value for support (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder tokenEndpoint(String tokenEndpoint)
tokenEndpoint attribute.tokenEndpoint - The value for tokenEndpoint (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder user(String user)
user attribute.user - The value for user (can be null)this builder for use in a chained invocationpublic final GetInfoResponse.Builder version(Integer version)
version attribute.version - The value for version (can be null)this builder for use in a chained invocationpublic GetInfoResponse build()
GetInfoResponse.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.