@Generated(value="software.amazon.awssdk:codegen") public final class PutOrganizationConfigRuleRequest extends ConfigRequest implements ToCopyableBuilder<PutOrganizationConfigRuleRequest.Builder,PutOrganizationConfigRuleRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutOrganizationConfigRuleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutOrganizationConfigRuleRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
excludedAccounts()
A comma-separated list of accounts that you want to exclude from an 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() |
String |
organizationConfigRuleName()
The name that you assign to an organization Config rule.
|
OrganizationCustomPolicyRuleMetadata |
organizationCustomPolicyRuleMetadata()
An
OrganizationCustomPolicyRuleMetadata object. |
OrganizationCustomRuleMetadata |
organizationCustomRuleMetadata()
An
OrganizationCustomRuleMetadata object. |
OrganizationManagedRuleMetadata |
organizationManagedRuleMetadata()
An
OrganizationManagedRuleMetadata object. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutOrganizationConfigRuleRequest.Builder> |
serializableBuilderClass() |
PutOrganizationConfigRuleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String organizationConfigRuleName()
The name that you assign to an organization Config rule.
public final OrganizationManagedRuleMetadata organizationManagedRuleMetadata()
An OrganizationManagedRuleMetadata object. This object specifies organization managed rule metadata
such as resource type and ID of Amazon Web Services resource along with the rule identifier. It also provides the
frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.
OrganizationManagedRuleMetadata object. This object specifies organization managed rule
metadata such as resource type and ID of Amazon Web Services resource along with the rule identifier. It
also provides the frequency with which you want Config to run evaluations for the rule if the trigger
type is periodic.public final OrganizationCustomRuleMetadata organizationCustomRuleMetadata()
An OrganizationCustomRuleMetadata object. This object specifies organization custom rule metadata
such as resource type, resource ID of Amazon Web Services resource, Lambda function ARN, and organization trigger
types that trigger Config to evaluate your Amazon Web Services resources against a rule. It also provides the
frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.
OrganizationCustomRuleMetadata object. This object specifies organization custom rule
metadata such as resource type, resource ID of Amazon Web Services resource, Lambda function ARN, and
organization trigger types that trigger Config to evaluate your Amazon Web Services resources against a
rule. It also provides the frequency with which you want Config to run evaluations for the rule if the
trigger type is periodic.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 that you want to exclude from an 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 OrganizationCustomPolicyRuleMetadata organizationCustomPolicyRuleMetadata()
An OrganizationCustomPolicyRuleMetadata object. This object 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 object. This object 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 PutOrganizationConfigRuleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutOrganizationConfigRuleRequest.Builder,PutOrganizationConfigRuleRequest>toBuilder in class ConfigRequestpublic static PutOrganizationConfigRuleRequest.Builder builder()
public static Class<? extends PutOrganizationConfigRuleRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.