Class ImmutableRawCloudServiceBroker
- java.lang.Object
-
- com.sap.cloudfoundry.client.facade.adapters.RawCloudEntity<CloudServiceBroker>
-
- com.sap.cloudfoundry.client.facade.adapters.RawCloudServiceBroker
-
- com.sap.cloudfoundry.client.facade.adapters.ImmutableRawCloudServiceBroker
-
- All Implemented Interfaces:
Derivable<CloudServiceBroker>
@Generated("org.immutables.processor.ProxyProcessor") public final class ImmutableRawCloudServiceBroker extends RawCloudServiceBroker
Immutable implementation ofRawCloudServiceBroker.Use the builder to create immutable instances:
ImmutableRawCloudServiceBroker.builder(). Use the static factory method to create immutable instances:ImmutableRawCloudServiceBroker.of().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableRawCloudServiceBroker.BuilderBuilds instances of typeImmutableRawCloudServiceBroker.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableRawCloudServiceBroker.Builderbuilder()Creates a builder forImmutableRawCloudServiceBroker.static ImmutableRawCloudServiceBrokercopyOf(RawCloudServiceBroker instance)Creates an immutable copy of aRawCloudServiceBrokervalue.booleanequals(Object another)This instance is equal to all instances ofImmutableRawCloudServiceBrokerthat have equal attribute values.org.cloudfoundry.client.v3.servicebrokers.ServiceBrokergetServiceBroker()inthashCode()Computes a hash code from attributes:serviceBroker.static ImmutableRawCloudServiceBrokerof(org.cloudfoundry.client.v3.servicebrokers.ServiceBroker serviceBroker)Construct a new immutableRawCloudServiceBrokerinstance.StringtoString()Prints the immutable valueRawCloudServiceBrokerwith attribute values.ImmutableRawCloudServiceBrokerwithServiceBroker(org.cloudfoundry.client.v3.servicebrokers.ServiceBroker value)Copy the current immutable object by setting a value for theserviceBrokerattribute.-
Methods inherited from class com.sap.cloudfoundry.client.facade.adapters.RawCloudServiceBroker
derive
-
Methods inherited from class com.sap.cloudfoundry.client.facade.adapters.RawCloudEntity
derive, deriveFromNullable, parseDate, parseEnum, parseGuid, parseNullableDate, parseNullableGuid, parseResourceMetadata
-
-
-
-
Method Detail
-
getServiceBroker
public org.cloudfoundry.client.v3.servicebrokers.ServiceBroker getServiceBroker()
- Specified by:
getServiceBrokerin classRawCloudServiceBroker- Returns:
- The value of the
serviceBrokerattribute
-
withServiceBroker
public final ImmutableRawCloudServiceBroker withServiceBroker(org.cloudfoundry.client.v3.servicebrokers.ServiceBroker value)
Copy the current immutable object by setting a value for theserviceBrokerattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for serviceBroker- Returns:
- A modified copy of the
thisobject
-
equals
public boolean equals(Object another)
This instance is equal to all instances ofImmutableRawCloudServiceBrokerthat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:serviceBroker.
-
toString
public String toString()
Prints the immutable valueRawCloudServiceBrokerwith attribute values.
-
of
public static ImmutableRawCloudServiceBroker of(org.cloudfoundry.client.v3.servicebrokers.ServiceBroker serviceBroker)
Construct a new immutableRawCloudServiceBrokerinstance.- Parameters:
serviceBroker- The value for theserviceBrokerattribute- Returns:
- An immutable RawCloudServiceBroker instance
-
copyOf
public static ImmutableRawCloudServiceBroker copyOf(RawCloudServiceBroker instance)
Creates an immutable copy of aRawCloudServiceBrokervalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable RawCloudServiceBroker instance
-
builder
public static ImmutableRawCloudServiceBroker.Builder builder()
Creates a builder forImmutableRawCloudServiceBroker.ImmutableRawCloudServiceBroker.builder() .serviceBroker(org.cloudfoundry.client.v3.servicebrokers.ServiceBroker) // requiredserviceBroker.build();- Returns:
- A new ImmutableRawCloudServiceBroker builder
-
-