@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HandshakeResource extends Object implements Serializable, Cloneable, StructuredPojo
Contains additional data that is needed to process a handshake.
| Constructor and Description |
|---|
HandshakeResource() |
| Modifier and Type | Method and Description |
|---|---|
HandshakeResource |
clone() |
boolean |
equals(Object obj) |
List<HandshakeResource> |
getResources()
When needed, contains an additional array of
HandshakeResource objects. |
String |
getType()
The type of information being passed, specifying how the value is to be interpreted by the other party:
|
String |
getValue()
The information that is passed to the other party in the handshake.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setResources(Collection<HandshakeResource> resources)
When needed, contains an additional array of
HandshakeResource objects. |
void |
setType(HandshakeResourceType type)
The type of information being passed, specifying how the value is to be interpreted by the other party:
|
void |
setType(String type)
The type of information being passed, specifying how the value is to be interpreted by the other party:
|
void |
setValue(String value)
The information that is passed to the other party in the handshake.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
HandshakeResource |
withResources(Collection<HandshakeResource> resources)
When needed, contains an additional array of
HandshakeResource objects. |
HandshakeResource |
withResources(HandshakeResource... resources)
When needed, contains an additional array of
HandshakeResource objects. |
HandshakeResource |
withType(HandshakeResourceType type)
The type of information being passed, specifying how the value is to be interpreted by the other party:
|
HandshakeResource |
withType(String type)
The type of information being passed, specifying how the value is to be interpreted by the other party:
|
HandshakeResource |
withValue(String value)
The information that is passed to the other party in the handshake.
|
public void setValue(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.
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.public String getValue()
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.
public HandshakeResource withValue(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.
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.public void setType(String type)
The type of information being passed, specifying how the value is to be interpreted by the other party:
ACCOUNT - Specifies an AWS 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 master account. Included as
information about an organization.
OWNER_NAME - Specifies the name associated with the master account. Included as information about an
organization.
NOTES - Additional text provided by the handshake initiator and intended for the recipient to read.
type - The type of information being passed, specifying how the value is to be interpreted by the other
party:
ACCOUNT - Specifies an AWS 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 master account. Included as
information about an organization.
OWNER_NAME - Specifies the name associated with the master account. Included as information
about an organization.
NOTES - Additional text provided by the handshake initiator and intended for the recipient to
read.
HandshakeResourceTypepublic String getType()
The type of information being passed, specifying how the value is to be interpreted by the other party:
ACCOUNT - Specifies an AWS 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 master account. Included as
information about an organization.
OWNER_NAME - Specifies the name associated with the master account. Included as information about an
organization.
NOTES - Additional text provided by the handshake initiator and intended for the recipient to read.
ACCOUNT - Specifies an AWS 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 master account. Included as
information about an organization.
OWNER_NAME - Specifies the name associated with the master account. Included as information
about an organization.
NOTES - Additional text provided by the handshake initiator and intended for the recipient
to read.
HandshakeResourceTypepublic HandshakeResource withType(String type)
The type of information being passed, specifying how the value is to be interpreted by the other party:
ACCOUNT - Specifies an AWS 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 master account. Included as
information about an organization.
OWNER_NAME - Specifies the name associated with the master account. Included as information about an
organization.
NOTES - Additional text provided by the handshake initiator and intended for the recipient to read.
type - The type of information being passed, specifying how the value is to be interpreted by the other
party:
ACCOUNT - Specifies an AWS 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 master account. Included as
information about an organization.
OWNER_NAME - Specifies the name associated with the master account. Included as information
about an organization.
NOTES - Additional text provided by the handshake initiator and intended for the recipient to
read.
HandshakeResourceTypepublic void setType(HandshakeResourceType type)
The type of information being passed, specifying how the value is to be interpreted by the other party:
ACCOUNT - Specifies an AWS 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 master account. Included as
information about an organization.
OWNER_NAME - Specifies the name associated with the master account. Included as information about an
organization.
NOTES - Additional text provided by the handshake initiator and intended for the recipient to read.
type - The type of information being passed, specifying how the value is to be interpreted by the other
party:
ACCOUNT - Specifies an AWS 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 master account. Included as
information about an organization.
OWNER_NAME - Specifies the name associated with the master account. Included as information
about an organization.
NOTES - Additional text provided by the handshake initiator and intended for the recipient to
read.
HandshakeResourceTypepublic HandshakeResource withType(HandshakeResourceType type)
The type of information being passed, specifying how the value is to be interpreted by the other party:
ACCOUNT - Specifies an AWS 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 master account. Included as
information about an organization.
OWNER_NAME - Specifies the name associated with the master account. Included as information about an
organization.
NOTES - Additional text provided by the handshake initiator and intended for the recipient to read.
type - The type of information being passed, specifying how the value is to be interpreted by the other
party:
ACCOUNT - Specifies an AWS 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 master account. Included as
information about an organization.
OWNER_NAME - Specifies the name associated with the master account. Included as information
about an organization.
NOTES - Additional text provided by the handshake initiator and intended for the recipient to
read.
HandshakeResourceTypepublic List<HandshakeResource> getResources()
When needed, contains an additional array of HandshakeResource objects.
HandshakeResource objects.public void setResources(Collection<HandshakeResource> resources)
When needed, contains an additional array of HandshakeResource objects.
resources - When needed, contains an additional array of HandshakeResource objects.public HandshakeResource withResources(HandshakeResource... resources)
When needed, contains an additional array of HandshakeResource objects.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection) or withResources(java.util.Collection) if you want to
override the existing values.
resources - When needed, contains an additional array of HandshakeResource objects.public HandshakeResource withResources(Collection<HandshakeResource> resources)
When needed, contains an additional array of HandshakeResource objects.
resources - When needed, contains an additional array of HandshakeResource objects.public String toString()
toString in class ObjectObject.toString()public HandshakeResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.