@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableControlRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
EnableControlRequest() |
| Modifier and Type | Method and Description |
|---|---|
EnableControlRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
EnableControlRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
EnableControlRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getControlIdentifier()
The ARN of the control.
|
Map<String,String> |
getTags()
Tags to be applied to the
EnabledControl resource. |
String |
getTargetIdentifier()
The ARN of the organizational unit.
|
int |
hashCode() |
void |
setControlIdentifier(String controlIdentifier)
The ARN of the control.
|
void |
setTags(Map<String,String> tags)
Tags to be applied to the
EnabledControl resource. |
void |
setTargetIdentifier(String targetIdentifier)
The ARN of the organizational unit.
|
String |
toString()
Returns a string representation of this object.
|
EnableControlRequest |
withControlIdentifier(String controlIdentifier)
The ARN of the control.
|
EnableControlRequest |
withTags(Map<String,String> tags)
Tags to be applied to the
EnabledControl resource. |
EnableControlRequest |
withTargetIdentifier(String targetIdentifier)
The ARN of the organizational unit.
|
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 setControlIdentifier(String controlIdentifier)
The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the
exception of the Region deny control. For information on how to find the controlIdentifier,
see the overview page.
controlIdentifier - The ARN of the control. Only Strongly recommended and Elective controls are permitted, with
the exception of the Region deny control. For information on how to find the
controlIdentifier, see the overview page.public String getControlIdentifier()
The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the
exception of the Region deny control. For information on how to find the controlIdentifier,
see the overview page.
controlIdentifier, see the overview page.public EnableControlRequest withControlIdentifier(String controlIdentifier)
The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the
exception of the Region deny control. For information on how to find the controlIdentifier,
see the overview page.
controlIdentifier - The ARN of the control. Only Strongly recommended and Elective controls are permitted, with
the exception of the Region deny control. For information on how to find the
controlIdentifier, see the overview page.public Map<String,String> getTags()
Tags to be applied to the EnabledControl resource.
EnabledControl resource.public void setTags(Map<String,String> tags)
Tags to be applied to the EnabledControl resource.
tags - Tags to be applied to the EnabledControl resource.public EnableControlRequest withTags(Map<String,String> tags)
Tags to be applied to the EnabledControl resource.
tags - Tags to be applied to the EnabledControl resource.public EnableControlRequest addTagsEntry(String key, String value)
public EnableControlRequest clearTagsEntries()
public void setTargetIdentifier(String targetIdentifier)
The ARN of the organizational unit. For information on how to find the targetIdentifier, see the overview page.
targetIdentifier - The ARN of the organizational unit. For information on how to find the targetIdentifier, see
the overview page.public String getTargetIdentifier()
The ARN of the organizational unit. For information on how to find the targetIdentifier, see the overview page.
targetIdentifier, see
the overview
page.public EnableControlRequest withTargetIdentifier(String targetIdentifier)
The ARN of the organizational unit. For information on how to find the targetIdentifier, see the overview page.
targetIdentifier - The ARN of the organizational unit. For information on how to find the targetIdentifier, see
the overview page.public String toString()
toString in class ObjectObject.toString()public EnableControlRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()