@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutTagPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutTagPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutTagPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getPolicy()
The tag policy to attach to the target.
|
String |
getTargetId()
The account ID or the root identifier of the organization.
|
int |
hashCode() |
void |
setPolicy(String policy)
The tag policy to attach to the target.
|
void |
setTargetId(String targetId)
The account ID or the root identifier of the organization.
|
String |
toString()
Returns a string representation of this object.
|
PutTagPolicyRequest |
withPolicy(String policy)
The tag policy to attach to the target.
|
PutTagPolicyRequest |
withTargetId(String targetId)
The account ID or the root identifier of the organization.
|
addHandlerContext, copyBaseTo, 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 setTargetId(String targetId)
The account ID or the root identifier of the organization. If you don't know the root ID, you can call the AWS Organizations ListRoots API to find it.
targetId - The account ID or the root identifier of the organization. If you don't know the root ID, you can call the
AWS Organizations ListRoots API
to find it.public String getTargetId()
The account ID or the root identifier of the organization. If you don't know the root ID, you can call the AWS Organizations ListRoots API to find it.
public PutTagPolicyRequest withTargetId(String targetId)
The account ID or the root identifier of the organization. If you don't know the root ID, you can call the AWS Organizations ListRoots API to find it.
targetId - The account ID or the root identifier of the organization. If you don't know the root ID, you can call the
AWS Organizations ListRoots API
to find it.public void setPolicy(String policy)
The tag policy to attach to the target.
policy - The tag policy to attach to the target.public String getPolicy()
The tag policy to attach to the target.
public PutTagPolicyRequest withPolicy(String policy)
The tag policy to attach to the target.
policy - The tag policy to attach to the target.public String toString()
toString in class ObjectObject.toString()public PutTagPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.