@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateResourceRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGroupIdentifier()
Specifies the group.
|
String |
getResourceArn()
The ARN of the canary that you want to associate with the specified group.
|
int |
hashCode() |
void |
setGroupIdentifier(String groupIdentifier)
Specifies the group.
|
void |
setResourceArn(String resourceArn)
The ARN of the canary that you want to associate with the specified group.
|
String |
toString()
Returns a string representation of this object.
|
AssociateResourceRequest |
withGroupIdentifier(String groupIdentifier)
Specifies the group.
|
AssociateResourceRequest |
withResourceArn(String resourceArn)
The ARN of the canary that you want to associate with the specified 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, withSdkRequestTimeout
public void setGroupIdentifier(String groupIdentifier)
Specifies the group. You can specify the group name, the ARN, or the group ID as the GroupIdentifier
.
groupIdentifier
- Specifies the group. You can specify the group name, the ARN, or the group ID as the
GroupIdentifier
.public String getGroupIdentifier()
Specifies the group. You can specify the group name, the ARN, or the group ID as the GroupIdentifier
.
GroupIdentifier
.public AssociateResourceRequest withGroupIdentifier(String groupIdentifier)
Specifies the group. You can specify the group name, the ARN, or the group ID as the GroupIdentifier
.
groupIdentifier
- Specifies the group. You can specify the group name, the ARN, or the group ID as the
GroupIdentifier
.public void setResourceArn(String resourceArn)
The ARN of the canary that you want to associate with the specified group.
resourceArn
- The ARN of the canary that you want to associate with the specified group.public String getResourceArn()
The ARN of the canary that you want to associate with the specified group.
public AssociateResourceRequest withResourceArn(String resourceArn)
The ARN of the canary that you want to associate with the specified group.
resourceArn
- The ARN of the canary that you want to associate with the specified group.public String toString()
toString
in class Object
Object.toString()
public AssociateResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()