Class UpdateStandardsControlRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.securityhub.model.SecurityHubRequest
-
- software.amazon.awssdk.services.securityhub.model.UpdateStandardsControlRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateStandardsControlRequest.Builder,UpdateStandardsControlRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateStandardsControlRequest extends SecurityHubRequest implements ToCopyableBuilder<UpdateStandardsControlRequest.Builder,UpdateStandardsControlRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateStandardsControlRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateStandardsControlRequest.Builderbuilder()ControlStatuscontrolStatus()The updated status of the security standard control.StringcontrolStatusAsString()The updated status of the security standard control.StringdisabledReason()A description of the reason why you are disabling a security standard control.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends UpdateStandardsControlRequest.Builder>serializableBuilderClass()StringstandardsControlArn()The ARN of the security standard control to enable or disable.UpdateStandardsControlRequest.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
-
standardsControlArn
public final String standardsControlArn()
The ARN of the security standard control to enable or disable.
- Returns:
- The ARN of the security standard control to enable or disable.
-
controlStatus
public final ControlStatus controlStatus()
The updated status of the security standard control.
If the service returns an enum value that is not available in the current SDK version,
controlStatuswill returnControlStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontrolStatusAsString().- Returns:
- The updated status of the security standard control.
- See Also:
ControlStatus
-
controlStatusAsString
public final String controlStatusAsString()
The updated status of the security standard control.
If the service returns an enum value that is not available in the current SDK version,
controlStatuswill returnControlStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontrolStatusAsString().- Returns:
- The updated status of the security standard control.
- See Also:
ControlStatus
-
disabledReason
public final String disabledReason()
A description of the reason why you are disabling a security standard control. If you are disabling a control, then this is required.
- Returns:
- A description of the reason why you are disabling a security standard control. If you are disabling a control, then this is required.
-
toBuilder
public UpdateStandardsControlRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateStandardsControlRequest.Builder,UpdateStandardsControlRequest>- Specified by:
toBuilderin classSecurityHubRequest
-
builder
public static UpdateStandardsControlRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateStandardsControlRequest.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
-
-