@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrganizationConfigRule extends Object implements Serializable, Cloneable, StructuredPojo
An organization Config rule that has information about Config rules that Config creates in member accounts.
Constructor and Description |
---|
OrganizationConfigRule() |
Modifier and Type | Method and Description |
---|---|
OrganizationConfigRule |
clone() |
boolean |
equals(Object obj) |
List<String> |
getExcludedAccounts()
A comma-separated list of accounts excluded from organization Config rule.
|
Date |
getLastUpdateTime()
The timestamp of the last update.
|
String |
getOrganizationConfigRuleArn()
Amazon Resource Name (ARN) of organization Config rule.
|
String |
getOrganizationConfigRuleName()
The name that you assign to organization Config rule.
|
OrganizationCustomPolicyRuleMetadataNoPolicy |
getOrganizationCustomPolicyRuleMetadata()
An object that specifies metadata for your organization's Config Custom Policy rule.
|
OrganizationCustomRuleMetadata |
getOrganizationCustomRuleMetadata()
An
OrganizationCustomRuleMetadata object. |
OrganizationManagedRuleMetadata |
getOrganizationManagedRuleMetadata()
An
OrganizationManagedRuleMetadata object. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExcludedAccounts(Collection<String> excludedAccounts)
A comma-separated list of accounts excluded from organization Config rule.
|
void |
setLastUpdateTime(Date lastUpdateTime)
The timestamp of the last update.
|
void |
setOrganizationConfigRuleArn(String organizationConfigRuleArn)
Amazon Resource Name (ARN) of organization Config rule.
|
void |
setOrganizationConfigRuleName(String organizationConfigRuleName)
The name that you assign to organization Config rule.
|
void |
setOrganizationCustomPolicyRuleMetadata(OrganizationCustomPolicyRuleMetadataNoPolicy organizationCustomPolicyRuleMetadata)
An object that specifies metadata for your organization's Config Custom Policy rule.
|
void |
setOrganizationCustomRuleMetadata(OrganizationCustomRuleMetadata organizationCustomRuleMetadata)
An
OrganizationCustomRuleMetadata object. |
void |
setOrganizationManagedRuleMetadata(OrganizationManagedRuleMetadata organizationManagedRuleMetadata)
An
OrganizationManagedRuleMetadata object. |
String |
toString()
Returns a string representation of this object.
|
OrganizationConfigRule |
withExcludedAccounts(Collection<String> excludedAccounts)
A comma-separated list of accounts excluded from organization Config rule.
|
OrganizationConfigRule |
withExcludedAccounts(String... excludedAccounts)
A comma-separated list of accounts excluded from organization Config rule.
|
OrganizationConfigRule |
withLastUpdateTime(Date lastUpdateTime)
The timestamp of the last update.
|
OrganizationConfigRule |
withOrganizationConfigRuleArn(String organizationConfigRuleArn)
Amazon Resource Name (ARN) of organization Config rule.
|
OrganizationConfigRule |
withOrganizationConfigRuleName(String organizationConfigRuleName)
The name that you assign to organization Config rule.
|
OrganizationConfigRule |
withOrganizationCustomPolicyRuleMetadata(OrganizationCustomPolicyRuleMetadataNoPolicy organizationCustomPolicyRuleMetadata)
An object that specifies metadata for your organization's Config Custom Policy rule.
|
OrganizationConfigRule |
withOrganizationCustomRuleMetadata(OrganizationCustomRuleMetadata organizationCustomRuleMetadata)
An
OrganizationCustomRuleMetadata object. |
OrganizationConfigRule |
withOrganizationManagedRuleMetadata(OrganizationManagedRuleMetadata organizationManagedRuleMetadata)
An
OrganizationManagedRuleMetadata object. |
public void setOrganizationConfigRuleName(String organizationConfigRuleName)
The name that you assign to organization Config rule.
organizationConfigRuleName
- The name that you assign to organization Config rule.public String getOrganizationConfigRuleName()
The name that you assign to organization Config rule.
public OrganizationConfigRule withOrganizationConfigRuleName(String organizationConfigRuleName)
The name that you assign to organization Config rule.
organizationConfigRuleName
- The name that you assign to organization Config rule.public void setOrganizationConfigRuleArn(String organizationConfigRuleArn)
Amazon Resource Name (ARN) of organization Config rule.
organizationConfigRuleArn
- Amazon Resource Name (ARN) of organization Config rule.public String getOrganizationConfigRuleArn()
Amazon Resource Name (ARN) of organization Config rule.
public OrganizationConfigRule withOrganizationConfigRuleArn(String organizationConfigRuleArn)
Amazon Resource Name (ARN) of organization Config rule.
organizationConfigRuleArn
- Amazon Resource Name (ARN) of organization Config rule.public void setOrganizationManagedRuleMetadata(OrganizationManagedRuleMetadata organizationManagedRuleMetadata)
An OrganizationManagedRuleMetadata
object.
organizationManagedRuleMetadata
- An OrganizationManagedRuleMetadata
object.public OrganizationManagedRuleMetadata getOrganizationManagedRuleMetadata()
An OrganizationManagedRuleMetadata
object.
OrganizationManagedRuleMetadata
object.public OrganizationConfigRule 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 OrganizationConfigRule withOrganizationCustomRuleMetadata(OrganizationCustomRuleMetadata organizationCustomRuleMetadata)
An OrganizationCustomRuleMetadata
object.
organizationCustomRuleMetadata
- An OrganizationCustomRuleMetadata
object.public List<String> getExcludedAccounts()
A comma-separated list of accounts excluded from organization Config rule.
public void setExcludedAccounts(Collection<String> excludedAccounts)
A comma-separated list of accounts excluded from organization Config rule.
excludedAccounts
- A comma-separated list of accounts excluded from organization Config rule.public OrganizationConfigRule withExcludedAccounts(String... excludedAccounts)
A comma-separated list of accounts excluded from 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 excluded from organization Config rule.public OrganizationConfigRule withExcludedAccounts(Collection<String> excludedAccounts)
A comma-separated list of accounts excluded from organization Config rule.
excludedAccounts
- A comma-separated list of accounts excluded from organization Config rule.public void setLastUpdateTime(Date lastUpdateTime)
The timestamp of the last update.
lastUpdateTime
- The timestamp of the last update.public Date getLastUpdateTime()
The timestamp of the last update.
public OrganizationConfigRule withLastUpdateTime(Date lastUpdateTime)
The timestamp of the last update.
lastUpdateTime
- The timestamp of the last update.public void setOrganizationCustomPolicyRuleMetadata(OrganizationCustomPolicyRuleMetadataNoPolicy organizationCustomPolicyRuleMetadata)
An object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.
organizationCustomPolicyRuleMetadata
- An object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes
the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such
as resource type, resource ID of Amazon Web Services resource, and organization trigger types that
initiate Config to evaluate Amazon Web Services resources against a rule.public OrganizationCustomPolicyRuleMetadataNoPolicy getOrganizationCustomPolicyRuleMetadata()
An object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.
public OrganizationConfigRule withOrganizationCustomPolicyRuleMetadata(OrganizationCustomPolicyRuleMetadataNoPolicy organizationCustomPolicyRuleMetadata)
An object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.
organizationCustomPolicyRuleMetadata
- An object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes
the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such
as resource type, resource ID of Amazon Web Services resource, and organization trigger types that
initiate Config to evaluate Amazon Web Services resources against a rule.public String toString()
toString
in class Object
Object.toString()
public OrganizationConfigRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.