Interface HandshakeResource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HandshakeResource.Builder,HandshakeResource>,SdkBuilder<HandshakeResource.Builder,HandshakeResource>,SdkPojo
- Enclosing class:
- HandshakeResource
public static interface HandshakeResource.Builder extends SdkPojo, CopyableBuilder<HandshakeResource.Builder,HandshakeResource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HandshakeResource.Builderresources(Collection<HandshakeResource> resources)When needed, contains an additional array ofHandshakeResourceobjects.HandshakeResource.Builderresources(Consumer<HandshakeResource.Builder>... resources)When needed, contains an additional array ofHandshakeResourceobjects.HandshakeResource.Builderresources(HandshakeResource... resources)When needed, contains an additional array ofHandshakeResourceobjects.HandshakeResource.Buildertype(String type)The type of information being passed, specifying how the value is to be interpreted by the other party:HandshakeResource.Buildertype(HandshakeResourceType type)The type of information being passed, specifying how the value is to be interpreted by the other party:HandshakeResource.Buildervalue(String value)The information that is passed to the other party in the handshake.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
value
HandshakeResource.Builder value(String value)
The information that is passed to the other party in the handshake. The format of the value string must match the requirements of the specified type.
- Parameters:
value- The information that is passed to the other party in the handshake. The format of the value string must match the requirements of the specified type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
HandshakeResource.Builder type(String type)
The type of information being passed, specifying how the value is to be interpreted by the other party:
-
ACCOUNT- Specifies an Amazon Web Services account ID number. -
ORGANIZATION- Specifies an organization ID number. -
EMAIL- Specifies the email address that is associated with the account that receives the handshake. -
OWNER_EMAIL- Specifies the email address associated with the management account. Included as information about an organization. -
OWNER_NAME- Specifies the name associated with the management account. Included as information about an organization. -
NOTES- Additional text provided by the handshake initiator and intended for the recipient to read.
- Parameters:
type- The type of information being passed, specifying how the value is to be interpreted by the other party:-
ACCOUNT- Specifies an Amazon Web Services account ID number. -
ORGANIZATION- Specifies an organization ID number. -
EMAIL- Specifies the email address that is associated with the account that receives the handshake. -
OWNER_EMAIL- Specifies the email address associated with the management account. Included as information about an organization. -
OWNER_NAME- Specifies the name associated with the management account. Included as information about an organization. -
NOTES- Additional text provided by the handshake initiator and intended for the recipient to read.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HandshakeResourceType,HandshakeResourceType
-
-
type
HandshakeResource.Builder type(HandshakeResourceType type)
The type of information being passed, specifying how the value is to be interpreted by the other party:
-
ACCOUNT- Specifies an Amazon Web Services account ID number. -
ORGANIZATION- Specifies an organization ID number. -
EMAIL- Specifies the email address that is associated with the account that receives the handshake. -
OWNER_EMAIL- Specifies the email address associated with the management account. Included as information about an organization. -
OWNER_NAME- Specifies the name associated with the management account. Included as information about an organization. -
NOTES- Additional text provided by the handshake initiator and intended for the recipient to read.
- Parameters:
type- The type of information being passed, specifying how the value is to be interpreted by the other party:-
ACCOUNT- Specifies an Amazon Web Services account ID number. -
ORGANIZATION- Specifies an organization ID number. -
EMAIL- Specifies the email address that is associated with the account that receives the handshake. -
OWNER_EMAIL- Specifies the email address associated with the management account. Included as information about an organization. -
OWNER_NAME- Specifies the name associated with the management account. Included as information about an organization. -
NOTES- Additional text provided by the handshake initiator and intended for the recipient to read.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HandshakeResourceType,HandshakeResourceType
-
-
resources
HandshakeResource.Builder resources(Collection<HandshakeResource> resources)
When needed, contains an additional array of
HandshakeResourceobjects.- Parameters:
resources- When needed, contains an additional array ofHandshakeResourceobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
HandshakeResource.Builder resources(HandshakeResource... resources)
When needed, contains an additional array of
HandshakeResourceobjects.- Parameters:
resources- When needed, contains an additional array ofHandshakeResourceobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
HandshakeResource.Builder resources(Consumer<HandshakeResource.Builder>... resources)
When needed, contains an additional array of
This is a convenience method that creates an instance of theHandshakeResourceobjects.HandshakeResource.Builderavoiding the need to create one manually viaHandshakeResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resources(List.) - Parameters:
resources- a consumer that will call methods onHandshakeResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resources(java.util.Collection)
-
-