Class ImmutableServiceCredentialBindingOperation
- java.lang.Object
-
- com.sap.cloudfoundry.client.facade.domain.ServiceCredentialBindingOperation
-
- com.sap.cloudfoundry.client.facade.domain.ImmutableServiceCredentialBindingOperation
-
@Generated("org.immutables.processor.ProxyProcessor") public final class ImmutableServiceCredentialBindingOperation extends ServiceCredentialBindingOperation
Immutable implementation ofServiceCredentialBindingOperation.Use the builder to create immutable instances:
ImmutableServiceCredentialBindingOperation.builder().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableServiceCredentialBindingOperation.BuilderBuilds instances of typeImmutableServiceCredentialBindingOperation.-
Nested classes/interfaces inherited from class com.sap.cloudfoundry.client.facade.domain.ServiceCredentialBindingOperation
ServiceCredentialBindingOperation.State, ServiceCredentialBindingOperation.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableServiceCredentialBindingOperation.Builderbuilder()Creates a builder forImmutableServiceCredentialBindingOperation.static ImmutableServiceCredentialBindingOperationcopyOf(ServiceCredentialBindingOperation instance)Creates an immutable copy of aServiceCredentialBindingOperationvalue.booleanequals(Object another)This instance is equal to all instances ofImmutableServiceCredentialBindingOperationthat have equal attribute values.LocalDateTimegetCreatedAt()StringgetDescription()ServiceCredentialBindingOperation.StategetState()ServiceCredentialBindingOperation.TypegetType()LocalDateTimegetUpdatedAt()inthashCode()Computes a hash code from attributes:type,state,description,createdAt,updatedAt.StringtoString()Prints the immutable valueServiceCredentialBindingOperationwith attribute values.ImmutableServiceCredentialBindingOperationwithCreatedAt(LocalDateTime value)Copy the current immutable object by setting a value for thecreatedAtattribute.ImmutableServiceCredentialBindingOperationwithDescription(String value)Copy the current immutable object by setting a value for thedescriptionattribute.ImmutableServiceCredentialBindingOperationwithState(ServiceCredentialBindingOperation.State value)Copy the current immutable object by setting a value for thestateattribute.ImmutableServiceCredentialBindingOperationwithType(ServiceCredentialBindingOperation.Type value)Copy the current immutable object by setting a value for thetypeattribute.ImmutableServiceCredentialBindingOperationwithUpdatedAt(LocalDateTime value)Copy the current immutable object by setting a value for theupdatedAtattribute.-
Methods inherited from class com.sap.cloudfoundry.client.facade.domain.ServiceCredentialBindingOperation
from
-
-
-
-
Method Detail
-
getType
public ServiceCredentialBindingOperation.Type getType()
- Specified by:
getTypein classServiceCredentialBindingOperation- Returns:
- The value of the
typeattribute
-
getState
public ServiceCredentialBindingOperation.State getState()
- Specified by:
getStatein classServiceCredentialBindingOperation- Returns:
- The value of the
stateattribute
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin classServiceCredentialBindingOperation- Returns:
- The value of the
descriptionattribute
-
getCreatedAt
public LocalDateTime getCreatedAt()
- Specified by:
getCreatedAtin classServiceCredentialBindingOperation- Returns:
- The value of the
createdAtattribute
-
getUpdatedAt
public LocalDateTime getUpdatedAt()
- Specified by:
getUpdatedAtin classServiceCredentialBindingOperation- Returns:
- The value of the
updatedAtattribute
-
withType
public final ImmutableServiceCredentialBindingOperation withType(ServiceCredentialBindingOperation.Type value)
Copy the current immutable object by setting a value for thetypeattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for type- Returns:
- A modified copy of the
thisobject
-
withState
public final ImmutableServiceCredentialBindingOperation withState(ServiceCredentialBindingOperation.State value)
Copy the current immutable object by setting a value for thestateattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for state- Returns:
- A modified copy of the
thisobject
-
withDescription
public final ImmutableServiceCredentialBindingOperation withDescription(String value)
Copy the current immutable object by setting a value for thedescriptionattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for description (can benull)- Returns:
- A modified copy of the
thisobject
-
withCreatedAt
public final ImmutableServiceCredentialBindingOperation withCreatedAt(LocalDateTime value)
Copy the current immutable object by setting a value for thecreatedAtattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for createdAt (can benull)- Returns:
- A modified copy of the
thisobject
-
withUpdatedAt
public final ImmutableServiceCredentialBindingOperation withUpdatedAt(LocalDateTime value)
Copy the current immutable object by setting a value for theupdatedAtattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for updatedAt (can benull)- Returns:
- A modified copy of the
thisobject
-
equals
public boolean equals(Object another)
This instance is equal to all instances ofImmutableServiceCredentialBindingOperationthat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:type,state,description,createdAt,updatedAt.
-
toString
public String toString()
Prints the immutable valueServiceCredentialBindingOperationwith attribute values.
-
copyOf
public static ImmutableServiceCredentialBindingOperation copyOf(ServiceCredentialBindingOperation instance)
Creates an immutable copy of aServiceCredentialBindingOperationvalue. 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 ServiceCredentialBindingOperation instance
-
builder
public static ImmutableServiceCredentialBindingOperation.Builder builder()
Creates a builder forImmutableServiceCredentialBindingOperation.ImmutableServiceCredentialBindingOperation.builder() .type(com.sap.cloudfoundry.client.facade.domain.ServiceCredentialBindingOperation.Type) // requiredtype.state(com.sap.cloudfoundry.client.facade.domain.ServiceCredentialBindingOperation.State) // requiredstate.description(String | null) // nullabledescription.createdAt(java.time.LocalDateTime | null) // nullablecreatedAt.updatedAt(java.time.LocalDateTime | null) // nullableupdatedAt.build();- Returns:
- A new ImmutableServiceCredentialBindingOperation builder
-
-