@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRegistrationAssociationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateRegistrationAssociationRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateRegistrationAssociationRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getRegistrationId()
 The unique identifier for the registration. | 
| String | getResourceId()
 The unique identifier for the origination identity. | 
| int | hashCode() | 
| void | setRegistrationId(String registrationId)
 The unique identifier for the registration. | 
| void | setResourceId(String resourceId)
 The unique identifier for the origination identity. | 
| String | toString()Returns a string representation of this object. | 
| CreateRegistrationAssociationRequest | withRegistrationId(String registrationId)
 The unique identifier for the registration. | 
| CreateRegistrationAssociationRequest | withResourceId(String resourceId)
 The unique identifier for the origination identity. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic CreateRegistrationAssociationRequest()
public void setRegistrationId(String registrationId)
The unique identifier for the registration.
registrationId - The unique identifier for the registration.public String getRegistrationId()
The unique identifier for the registration.
public CreateRegistrationAssociationRequest withRegistrationId(String registrationId)
The unique identifier for the registration.
registrationId - The unique identifier for the registration.public void setResourceId(String resourceId)
The unique identifier for the origination identity. For example this could be a PhoneNumberId or SenderId.
resourceId - The unique identifier for the origination identity. For example this could be a PhoneNumberId or
        SenderId.public String getResourceId()
The unique identifier for the origination identity. For example this could be a PhoneNumberId or SenderId.
public CreateRegistrationAssociationRequest withResourceId(String resourceId)
The unique identifier for the origination identity. For example this could be a PhoneNumberId or SenderId.
resourceId - The unique identifier for the origination identity. For example this could be a PhoneNumberId or
        SenderId.public String toString()
toString in class ObjectObject.toString()public CreateRegistrationAssociationRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()