@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutOrganizationConfigRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutOrganizationConfigRuleRequest() |
Modifier and Type | Method and Description |
---|---|
PutOrganizationConfigRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getExcludedAccounts()
A comma-separated list of accounts that you want to exclude from an organization config rule.
|
String |
getOrganizationConfigRuleName()
The name that you assign to an organization config rule.
|
OrganizationCustomRuleMetadata |
getOrganizationCustomRuleMetadata()
An
OrganizationCustomRuleMetadata object. |
OrganizationManagedRuleMetadata |
getOrganizationManagedRuleMetadata()
An
OrganizationManagedRuleMetadata object. |
int |
hashCode() |
void |
setExcludedAccounts(Collection<String> excludedAccounts)
A comma-separated list of accounts that you want to exclude from an organization config rule.
|
void |
setOrganizationConfigRuleName(String organizationConfigRuleName)
The name that you assign to an organization config rule.
|
void |
setOrganizationCustomRuleMetadata(OrganizationCustomRuleMetadata organizationCustomRuleMetadata)
An
OrganizationCustomRuleMetadata object. |
void |
setOrganizationManagedRuleMetadata(OrganizationManagedRuleMetadata organizationManagedRuleMetadata)
An
OrganizationManagedRuleMetadata object. |
String |
toString()
Returns a string representation of this object.
|
PutOrganizationConfigRuleRequest |
withExcludedAccounts(Collection<String> excludedAccounts)
A comma-separated list of accounts that you want to exclude from an organization config rule.
|
PutOrganizationConfigRuleRequest |
withExcludedAccounts(String... excludedAccounts)
A comma-separated list of accounts that you want to exclude from an organization config rule.
|
PutOrganizationConfigRuleRequest |
withOrganizationConfigRuleName(String organizationConfigRuleName)
The name that you assign to an organization config rule.
|
PutOrganizationConfigRuleRequest |
withOrganizationCustomRuleMetadata(OrganizationCustomRuleMetadata organizationCustomRuleMetadata)
An
OrganizationCustomRuleMetadata object. |
PutOrganizationConfigRuleRequest |
withOrganizationManagedRuleMetadata(OrganizationManagedRuleMetadata organizationManagedRuleMetadata)
An
OrganizationManagedRuleMetadata object. |
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 setOrganizationConfigRuleName(String organizationConfigRuleName)
The name that you assign to an organization config rule.
organizationConfigRuleName
- The name that you assign to an organization config rule.public String getOrganizationConfigRuleName()
The name that you assign to an organization config rule.
public PutOrganizationConfigRuleRequest withOrganizationConfigRuleName(String organizationConfigRuleName)
The name that you assign to an organization config rule.
organizationConfigRuleName
- The name that you assign to an organization config rule.public void setOrganizationManagedRuleMetadata(OrganizationManagedRuleMetadata organizationManagedRuleMetadata)
An OrganizationManagedRuleMetadata
object.
organizationManagedRuleMetadata
- An OrganizationManagedRuleMetadata
object.public OrganizationManagedRuleMetadata getOrganizationManagedRuleMetadata()
An OrganizationManagedRuleMetadata
object.
OrganizationManagedRuleMetadata
object.public PutOrganizationConfigRuleRequest withOrganizationManagedRuleMetadata(OrganizationManagedRuleMetadata organizationManagedRuleMetadata)
An OrganizationManagedRuleMetadata
object.
organizationManagedRuleMetadata
- An OrganizationManagedRuleMetadata
object.public void setOrganizationCustomRuleMetadata(OrganizationCustomRuleMetadata organizationCustomRuleMetadata)
An OrganizationCustomRuleMetadata
object.
organizationCustomRuleMetadata
- An OrganizationCustomRuleMetadata
object.public OrganizationCustomRuleMetadata getOrganizationCustomRuleMetadata()
An OrganizationCustomRuleMetadata
object.
OrganizationCustomRuleMetadata
object.public PutOrganizationConfigRuleRequest withOrganizationCustomRuleMetadata(OrganizationCustomRuleMetadata organizationCustomRuleMetadata)
An OrganizationCustomRuleMetadata
object.
organizationCustomRuleMetadata
- An OrganizationCustomRuleMetadata
object.public List<String> getExcludedAccounts()
A comma-separated list of accounts that you want to exclude from an organization config rule.
public void setExcludedAccounts(Collection<String> excludedAccounts)
A comma-separated list of accounts that you want to exclude from an organization config rule.
excludedAccounts
- A comma-separated list of accounts that you want to exclude from an organization config rule.public PutOrganizationConfigRuleRequest withExcludedAccounts(String... excludedAccounts)
A comma-separated list of accounts that you want to exclude from an organization config rule.
NOTE: This method appends the values to the existing list (if any). Use
setExcludedAccounts(java.util.Collection)
or withExcludedAccounts(java.util.Collection)
if you
want to override the existing values.
excludedAccounts
- A comma-separated list of accounts that you want to exclude from an organization config rule.public PutOrganizationConfigRuleRequest withExcludedAccounts(Collection<String> excludedAccounts)
A comma-separated list of accounts that you want to exclude from an organization config rule.
excludedAccounts
- A comma-separated list of accounts that you want to exclude from an organization config rule.public String toString()
toString
in class Object
Object.toString()
public PutOrganizationConfigRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.