| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCloudInfo.Builder
Builds instances of type
ImmutableCloudInfo. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableCloudInfo.Builder |
builder()
Creates a builder for
ImmutableCloudInfo. |
static ImmutableCloudInfo |
copyOf(CloudInfo instance)
Creates an immutable copy of a
CloudInfo value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableCloudInfo that have equal attribute values. |
String |
getAuthorizationEndpoint() |
String |
getBuild() |
String |
getDescription() |
String |
getLoggingEndpoint() |
String |
getName() |
String |
getSupport() |
String |
getUser() |
String |
getVersion() |
int |
hashCode()
Computes a hash code from attributes:
authorizationEndpoint, loggingEndpoint, build, description, name, user, support, version. |
String |
toString()
Prints the immutable value
CloudInfo with attribute values. |
ImmutableCloudInfo |
withAuthorizationEndpoint(String value)
Copy the current immutable object by setting a value for the
authorizationEndpoint attribute. |
ImmutableCloudInfo |
withBuild(String value)
Copy the current immutable object by setting a value for the
build attribute. |
ImmutableCloudInfo |
withDescription(String value)
Copy the current immutable object by setting a value for the
description attribute. |
ImmutableCloudInfo |
withLoggingEndpoint(String value)
Copy the current immutable object by setting a value for the
loggingEndpoint attribute. |
ImmutableCloudInfo |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableCloudInfo |
withSupport(String value)
Copy the current immutable object by setting a value for the
support attribute. |
ImmutableCloudInfo |
withUser(String value)
Copy the current immutable object by setting a value for the
user attribute. |
ImmutableCloudInfo |
withVersion(String value)
Copy the current immutable object by setting a value for the
version attribute. |
public String getAuthorizationEndpoint()
getAuthorizationEndpoint in interface CloudInfoauthorizationEndpoint attributepublic String getLoggingEndpoint()
getLoggingEndpoint in interface CloudInfologgingEndpoint attributepublic String getBuild()
public String getDescription()
getDescription in interface CloudInfodescription attributepublic String getName()
public String getUser()
public String getSupport()
getSupport in interface CloudInfosupport attributepublic String getVersion()
getVersion in interface CloudInfoversion attributepublic final ImmutableCloudInfo withAuthorizationEndpoint(String value)
authorizationEndpoint attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for authorizationEndpoint (can be null)this objectpublic final ImmutableCloudInfo withLoggingEndpoint(String value)
loggingEndpoint attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for loggingEndpoint (can be null)this objectpublic final ImmutableCloudInfo withBuild(String value)
build attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for build (can be null)this objectpublic final ImmutableCloudInfo withDescription(String value)
description attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for description (can be null)this objectpublic final ImmutableCloudInfo withName(String value)
name attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for name (can be null)this objectpublic final ImmutableCloudInfo withUser(String value)
user attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for user (can be null)this objectpublic final ImmutableCloudInfo withSupport(String value)
support attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for support (can be null)this objectpublic final ImmutableCloudInfo withVersion(String value)
version attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for version (can be null)this objectpublic boolean equals(Object another)
ImmutableCloudInfo that have equal attribute values.public int hashCode()
authorizationEndpoint, loggingEndpoint, build, description, name, user, support, version.public String toString()
CloudInfo with attribute values.public static ImmutableCloudInfo copyOf(CloudInfo instance)
CloudInfo value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableCloudInfo.Builder builder()
ImmutableCloudInfo.
ImmutableCloudInfo.builder()
.authorizationEndpoint(String | null) // nullable authorizationEndpoint
.loggingEndpoint(String | null) // nullable loggingEndpoint
.build(String | null) // nullable build
.description(String | null) // nullable description
.name(String | null) // nullable name
.user(String | null) // nullable user
.support(String | null) // nullable support
.version(String | null) // nullable version
.build();
Copyright © 2020 SAP SE. All rights reserved.