@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateServiceRoleToAccountRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AssociateServiceRoleToAccountRequest() |
| Modifier and Type | Method and Description |
|---|---|
AssociateServiceRoleToAccountRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getRoleArn()
The Amazon Resource Name (ARN) of the service role to associate with IoT Greengrass for your Amazon Web Services
account in this Amazon Web Services Region.
|
int |
hashCode() |
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the service role to associate with IoT Greengrass for your Amazon Web Services
account in this Amazon Web Services Region.
|
String |
toString()
Returns a string representation of this object.
|
AssociateServiceRoleToAccountRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the service role to associate with IoT Greengrass for your Amazon Web Services
account in this Amazon Web Services Region.
|
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 AssociateServiceRoleToAccountRequest()
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the service role to associate with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region.
roleArn - The Amazon Resource Name (ARN) of the service role to associate with IoT Greengrass for your Amazon Web
Services account in this Amazon Web Services Region.public String getRoleArn()
The Amazon Resource Name (ARN) of the service role to associate with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region.
public AssociateServiceRoleToAccountRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the service role to associate with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region.
roleArn - The Amazon Resource Name (ARN) of the service role to associate with IoT Greengrass for your Amazon Web
Services account in this Amazon Web Services Region.public String toString()
toString in class ObjectObject.toString()public AssociateServiceRoleToAccountRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()