Class ParameterConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.ParameterConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ParameterConfiguration.Builder,ParameterConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class ParameterConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ParameterConfiguration.Builder,ParameterConfiguration>
An object that provides the current value of a security control parameter and identifies whether it has been customized.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceParameterConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParameterConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ParameterConfiguration.Builder>serializableBuilderClass()ParameterConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.ParameterValuevalue()The current value of a control parameter.ParameterValueTypevalueType()Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior.StringvalueTypeAsString()Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior.-
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
-
valueType
public final ParameterValueType valueType()
Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior.
When
ValueTypeis set equal toDEFAULT, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. WhenValueTypeis set equal toDEFAULT, Security Hub ignores user-provided input for theValuefield.When
ValueTypeis set equal toCUSTOM, theValuefield can't be empty.If the service returns an enum value that is not available in the current SDK version,
valueTypewill returnParameterValueType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvalueTypeAsString().- Returns:
- Identifies whether a control parameter uses a custom user-defined value or subscribes to the default
Security Hub behavior.
When
ValueTypeis set equal toDEFAULT, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. WhenValueTypeis set equal toDEFAULT, Security Hub ignores user-provided input for theValuefield.When
ValueTypeis set equal toCUSTOM, theValuefield can't be empty. - See Also:
ParameterValueType
-
valueTypeAsString
public final String valueTypeAsString()
Identifies whether a control parameter uses a custom user-defined value or subscribes to the default Security Hub behavior.
When
ValueTypeis set equal toDEFAULT, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. WhenValueTypeis set equal toDEFAULT, Security Hub ignores user-provided input for theValuefield.When
ValueTypeis set equal toCUSTOM, theValuefield can't be empty.If the service returns an enum value that is not available in the current SDK version,
valueTypewill returnParameterValueType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvalueTypeAsString().- Returns:
- Identifies whether a control parameter uses a custom user-defined value or subscribes to the default
Security Hub behavior.
When
ValueTypeis set equal toDEFAULT, the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. WhenValueTypeis set equal toDEFAULT, Security Hub ignores user-provided input for theValuefield.When
ValueTypeis set equal toCUSTOM, theValuefield can't be empty. - See Also:
ParameterValueType
-
value
public final ParameterValue value()
The current value of a control parameter.
- Returns:
- The current value of a control parameter.
-
toBuilder
public ParameterConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ParameterConfiguration.Builder,ParameterConfiguration>
-
builder
public static ParameterConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ParameterConfiguration.Builder> serializableBuilderClass()
-
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.
-
-