@Generated(value="software.amazon.awssdk:codegen") public final class UpdateOrganizationConfigurationRequest extends GuardDutyRequest implements ToCopyableBuilder<UpdateOrganizationConfigurationRequest.Builder,UpdateOrganizationConfigurationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateOrganizationConfigurationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
autoEnable()
Deprecated.
This field is deprecated, use AutoEnableOrganizationMembers instead
|
AutoEnableMembers |
autoEnableOrganizationMembers()
Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization.
|
String |
autoEnableOrganizationMembersAsString()
Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization.
|
static UpdateOrganizationConfigurationRequest.Builder |
builder() |
OrganizationDataSourceConfigurations |
dataSources()
Deprecated.
This parameter is deprecated, use Features instead
|
String |
detectorId()
The ID of the detector that configures the delegated administrator.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<OrganizationFeatureConfiguration> |
features()
A list of features that will be configured for the organization.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFeatures()
For responses, this returns true if the service returned a value for the Features property.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateOrganizationConfigurationRequest.Builder> |
serializableBuilderClass() |
UpdateOrganizationConfigurationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String detectorId()
The ID of the detector that configures the delegated administrator.
@Deprecated public final Boolean autoEnable()
Represents whether or not to automatically enable member accounts in the organization.
Even though this is still supported, we recommend using AutoEnableOrganizationMembers to achieve the
similar results. You must provide a value for either autoEnableOrganizationMembers or
autoEnable.
Even though this is still supported, we recommend using AutoEnableOrganizationMembers to
achieve the similar results. You must provide a value for either
autoEnableOrganizationMembers or autoEnable.
@Deprecated public final OrganizationDataSourceConfigurations dataSources()
Describes which data sources will be updated.
public final boolean hasFeatures()
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<OrganizationFeatureConfiguration> features()
A list of features that will be configured for the organization.
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 hasFeatures() method.
public final AutoEnableMembers autoEnableOrganizationMembers()
Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization. You must
provide a value for either autoEnableOrganizationMembers or autoEnable.
Use one of the following configuration values for autoEnableOrganizationMembers:
NEW: Indicates that when a new account joins the organization, they will have GuardDuty enabled
automatically.
ALL: Indicates that all accounts in the organization have GuardDuty enabled automatically. This
includes NEW accounts that join the organization and accounts that may have been suspended or
removed from the organization in GuardDuty.
It may take up to 24 hours to update the configuration for all the member accounts.
NONE: Indicates that GuardDuty will not be automatically enabled for any account in the
organization. The administrator must manage GuardDuty for each account in the organization individually.
If the service returns an enum value that is not available in the current SDK version,
autoEnableOrganizationMembers will return AutoEnableMembers.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from autoEnableOrganizationMembersAsString().
autoEnableOrganizationMembers or autoEnable.
Use one of the following configuration values for autoEnableOrganizationMembers:
NEW: Indicates that when a new account joins the organization, they will have GuardDuty
enabled automatically.
ALL: Indicates that all accounts in the organization have GuardDuty enabled automatically.
This includes NEW accounts that join the organization and accounts that may have been
suspended or removed from the organization in GuardDuty.
It may take up to 24 hours to update the configuration for all the member accounts.
NONE: Indicates that GuardDuty will not be automatically enabled for any account in the
organization. The administrator must manage GuardDuty for each account in the organization individually.
AutoEnableMemberspublic final String autoEnableOrganizationMembersAsString()
Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization. You must
provide a value for either autoEnableOrganizationMembers or autoEnable.
Use one of the following configuration values for autoEnableOrganizationMembers:
NEW: Indicates that when a new account joins the organization, they will have GuardDuty enabled
automatically.
ALL: Indicates that all accounts in the organization have GuardDuty enabled automatically. This
includes NEW accounts that join the organization and accounts that may have been suspended or
removed from the organization in GuardDuty.
It may take up to 24 hours to update the configuration for all the member accounts.
NONE: Indicates that GuardDuty will not be automatically enabled for any account in the
organization. The administrator must manage GuardDuty for each account in the organization individually.
If the service returns an enum value that is not available in the current SDK version,
autoEnableOrganizationMembers will return AutoEnableMembers.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from autoEnableOrganizationMembersAsString().
autoEnableOrganizationMembers or autoEnable.
Use one of the following configuration values for autoEnableOrganizationMembers:
NEW: Indicates that when a new account joins the organization, they will have GuardDuty
enabled automatically.
ALL: Indicates that all accounts in the organization have GuardDuty enabled automatically.
This includes NEW accounts that join the organization and accounts that may have been
suspended or removed from the organization in GuardDuty.
It may take up to 24 hours to update the configuration for all the member accounts.
NONE: Indicates that GuardDuty will not be automatically enabled for any account in the
organization. The administrator must manage GuardDuty for each account in the organization individually.
AutoEnableMemberspublic UpdateOrganizationConfigurationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateOrganizationConfigurationRequest.Builder,UpdateOrganizationConfigurationRequest>toBuilder in class GuardDutyRequestpublic static UpdateOrganizationConfigurationRequest.Builder builder()
public static Class<? extends UpdateOrganizationConfigurationRequest.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.