Class DeleteConfigurationProfileRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.appconfig.model.AppConfigRequest
-
- software.amazon.awssdk.services.appconfig.model.DeleteConfigurationProfileRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteConfigurationProfileRequest.Builder,DeleteConfigurationProfileRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteConfigurationProfileRequest extends AppConfigRequest implements ToCopyableBuilder<DeleteConfigurationProfileRequest.Builder,DeleteConfigurationProfileRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteConfigurationProfileRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationId()The application ID that includes the configuration profile you want to delete.static DeleteConfigurationProfileRequest.Builderbuilder()StringconfigurationProfileId()The ID of the configuration profile you want to delete.DeletionProtectionCheckdeletionProtectionCheck()A parameter to configure deletion protection.StringdeletionProtectionCheckAsString()A parameter to configure deletion protection.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DeleteConfigurationProfileRequest.Builder>serializableBuilderClass()DeleteConfigurationProfileRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
applicationId
public final String applicationId()
The application ID that includes the configuration profile you want to delete.
- Returns:
- The application ID that includes the configuration profile you want to delete.
-
configurationProfileId
public final String configurationProfileId()
The ID of the configuration profile you want to delete.
- Returns:
- The ID of the configuration profile you want to delete.
-
deletionProtectionCheck
public final DeletionProtectionCheck deletionProtectionCheck()
A parameter to configure deletion protection. If enabled, deletion protection prevents a user from deleting a configuration profile if your application has called either GetLatestConfiguration or for the configuration profile during the specified interval.
This parameter supports the following values:
-
BYPASS: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it. -
APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level.APPLYalso forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks. -
ACCOUNT_DEFAULT: The default setting, which instructs AppConfig to implement the deletion protection value specified in theUpdateAccountSettingsAPI.
If the service returns an enum value that is not available in the current SDK version,
deletionProtectionCheckwill returnDeletionProtectionCheck.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeletionProtectionCheckAsString().- Returns:
- A parameter to configure deletion protection. If enabled, deletion protection prevents a user from
deleting a configuration profile if your application has called either GetLatestConfiguration or for the configuration profile during the specified interval.
This parameter supports the following values:
-
BYPASS: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it. -
APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level.APPLYalso forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks. -
ACCOUNT_DEFAULT: The default setting, which instructs AppConfig to implement the deletion protection value specified in theUpdateAccountSettingsAPI.
-
- See Also:
DeletionProtectionCheck
-
-
deletionProtectionCheckAsString
public final String deletionProtectionCheckAsString()
A parameter to configure deletion protection. If enabled, deletion protection prevents a user from deleting a configuration profile if your application has called either GetLatestConfiguration or for the configuration profile during the specified interval.
This parameter supports the following values:
-
BYPASS: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it. -
APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level.APPLYalso forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks. -
ACCOUNT_DEFAULT: The default setting, which instructs AppConfig to implement the deletion protection value specified in theUpdateAccountSettingsAPI.
If the service returns an enum value that is not available in the current SDK version,
deletionProtectionCheckwill returnDeletionProtectionCheck.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeletionProtectionCheckAsString().- Returns:
- A parameter to configure deletion protection. If enabled, deletion protection prevents a user from
deleting a configuration profile if your application has called either GetLatestConfiguration or for the configuration profile during the specified interval.
This parameter supports the following values:
-
BYPASS: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it. -
APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level.APPLYalso forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks. -
ACCOUNT_DEFAULT: The default setting, which instructs AppConfig to implement the deletion protection value specified in theUpdateAccountSettingsAPI.
-
- See Also:
DeletionProtectionCheck
-
-
toBuilder
public DeleteConfigurationProfileRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteConfigurationProfileRequest.Builder,DeleteConfigurationProfileRequest>- Specified by:
toBuilderin classAppConfigRequest
-
builder
public static DeleteConfigurationProfileRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteConfigurationProfileRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-