Class ImmutableServiceCredentialBindingOperation.Builder
- java.lang.Object
-
- com.sap.cloudfoundry.client.facade.domain.ImmutableServiceCredentialBindingOperation.Builder
-
- Enclosing class:
- ImmutableServiceCredentialBindingOperation
public static final class ImmutableServiceCredentialBindingOperation.Builder extends Object
Builds instances of typeImmutableServiceCredentialBindingOperation. Initialize attributes and then invoke thebuild()method to create an immutable instance.Builderis not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.
-
-
Method Summary
-
-
-
Method Detail
-
from
public final ImmutableServiceCredentialBindingOperation.Builder from(ServiceCredentialBindingOperation instance)
Fill a builder with attribute values from the providedServiceCredentialBindingOperationinstance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
type
public final ImmutableServiceCredentialBindingOperation.Builder type(ServiceCredentialBindingOperation.Type type)
Initializes the value for thetypeattribute.- Parameters:
type- The value for type- Returns:
thisbuilder for use in a chained invocation
-
state
public final ImmutableServiceCredentialBindingOperation.Builder state(ServiceCredentialBindingOperation.State state)
Initializes the value for thestateattribute.- Parameters:
state- The value for state- Returns:
thisbuilder for use in a chained invocation
-
description
public final ImmutableServiceCredentialBindingOperation.Builder description(String description)
Initializes the value for thedescriptionattribute.- Parameters:
description- The value for description (can benull)- Returns:
thisbuilder for use in a chained invocation
-
createdAt
public final ImmutableServiceCredentialBindingOperation.Builder createdAt(LocalDateTime createdAt)
Initializes the value for thecreatedAtattribute.- Parameters:
createdAt- The value for createdAt (can benull)- Returns:
thisbuilder for use in a chained invocation
-
updatedAt
public final ImmutableServiceCredentialBindingOperation.Builder updatedAt(LocalDateTime updatedAt)
Initializes the value for theupdatedAtattribute.- Parameters:
updatedAt- The value for updatedAt (can benull)- Returns:
thisbuilder for use in a chained invocation
-
build
public ImmutableServiceCredentialBindingOperation build()
Builds a newImmutableServiceCredentialBindingOperation.- Returns:
- An immutable instance of ServiceCredentialBindingOperation
- Throws:
IllegalStateException- if any required attributes are missing
-
-