@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateRoleToGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AssociateRoleToGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
AssociateRoleToGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGroupId()
The ID of the Greengrass group.
|
String |
getRoleArn()
The ARN of the role you wish to associate with this group.
|
int |
hashCode() |
void |
setGroupId(String groupId)
The ID of the Greengrass group.
|
void |
setRoleArn(String roleArn)
The ARN of the role you wish to associate with this group.
|
String |
toString()
Returns a string representation of this object.
|
AssociateRoleToGroupRequest |
withGroupId(String groupId)
The ID of the Greengrass group.
|
AssociateRoleToGroupRequest |
withRoleArn(String roleArn)
The ARN of the role you wish to associate with this group.
|
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 void setGroupId(String groupId)
groupId - The ID of the Greengrass group.public String getGroupId()
public AssociateRoleToGroupRequest withGroupId(String groupId)
groupId - The ID of the Greengrass group.public void setRoleArn(String roleArn)
roleArn - The ARN of the role you wish to associate with this group. The existence of the role is not validated.public String getRoleArn()
public AssociateRoleToGroupRequest withRoleArn(String roleArn)
roleArn - The ARN of the role you wish to associate with this group. The existence of the role is not validated.public String toString()
toString in class ObjectObject.toString()public AssociateRoleToGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()