Class ImmutableAwsAccountCreateUpdateRequest
java.lang.Object
com.iland.core.web.rest.request.aws.ImmutableAwsAccountCreateUpdateRequest
- All Implemented Interfaces:
AwsAccountCreateUpdateRequest
@Generated(from="AwsAccountCreateUpdateRequest",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableAwsAccountCreateUpdateRequest
extends Object
implements AwsAccountCreateUpdateRequest
Immutable implementation of
AwsAccountCreateUpdateRequest.
Use the builder to create immutable instances:
ImmutableAwsAccountCreateUpdateRequest.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableAwsAccountCreateUpdateRequest. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableAwsAccountCreateUpdateRequest.copyOf(AwsAccountCreateUpdateRequest instance) Creates an immutable copy of aAwsAccountCreateUpdateRequestvalue.booleanThis instance is equal to all instances ofImmutableAwsAccountCreateUpdateRequestthat have equal attribute values.inthashCode()Computes a hash code from attributes:name.name()Account name.toString()Prints the immutable valueAwsAccountCreateUpdateRequestwith attribute values.Copy the current immutable object by setting a value for thenameattribute.
-
Method Details
-
name
Account name.- Specified by:
namein interfaceAwsAccountCreateUpdateRequest
-
withName
Copy the current immutable object by setting a value for thenameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for name- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableAwsAccountCreateUpdateRequestthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:name. -
toString
Prints the immutable valueAwsAccountCreateUpdateRequestwith attribute values. -
copyOf
Creates an immutable copy of aAwsAccountCreateUpdateRequestvalue. 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 AwsAccountCreateUpdateRequest instance
-
builder
Creates a builder forImmutableAwsAccountCreateUpdateRequest.ImmutableAwsAccountCreateUpdateRequest.builder() .name(String) // requiredname.build();- Returns:
- A new ImmutableAwsAccountCreateUpdateRequest builder
-