@Generated(value="software.amazon.awssdk:codegen") public final class OrganizationConfigRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OrganizationConfigRule.Builder,OrganizationConfigRule>
An organization Config rule that has information about Config rules that Config creates in member accounts.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OrganizationConfigRule.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OrganizationConfigRule.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
excludedAccounts()
A comma-separated list of accounts excluded from organization Config rule.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExcludedAccounts()
For responses, this returns true if the service returned a value for the ExcludedAccounts property.
|
int |
hashCode() |
Instant |
lastUpdateTime()
The timestamp of the last update.
|
String |
organizationConfigRuleArn()
Amazon Resource Name (ARN) of organization Config rule.
|
String |
organizationConfigRuleName()
The name that you assign to organization Config rule.
|
OrganizationCustomPolicyRuleMetadataNoPolicy |
organizationCustomPolicyRuleMetadata()
An object that specifies metadata for your organization's Config Custom Policy rule.
|
OrganizationCustomRuleMetadata |
organizationCustomRuleMetadata()
An
OrganizationCustomRuleMetadata object. |
OrganizationManagedRuleMetadata |
organizationManagedRuleMetadata()
An
OrganizationManagedRuleMetadata object. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends OrganizationConfigRule.Builder> |
serializableBuilderClass() |
OrganizationConfigRule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String organizationConfigRuleName()
The name that you assign to organization Config rule.
public final String organizationConfigRuleArn()
Amazon Resource Name (ARN) of organization Config rule.
public final OrganizationManagedRuleMetadata organizationManagedRuleMetadata()
An OrganizationManagedRuleMetadata object.
OrganizationManagedRuleMetadata object.public final OrganizationCustomRuleMetadata organizationCustomRuleMetadata()
An OrganizationCustomRuleMetadata object.
OrganizationCustomRuleMetadata object.public final boolean hasExcludedAccounts()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> excludedAccounts()
A comma-separated list of accounts excluded from organization Config rule.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasExcludedAccounts() method.
public final Instant lastUpdateTime()
The timestamp of the last update.
public final 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.
public OrganizationConfigRule.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OrganizationConfigRule.Builder,OrganizationConfigRule>public static OrganizationConfigRule.Builder builder()
public static Class<? extends OrganizationConfigRule.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.