Class StandardsControlAssociationSummary
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.StandardsControlAssociationSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StandardsControlAssociationSummary.Builder,StandardsControlAssociationSummary>
@Generated("software.amazon.awssdk:codegen") public final class StandardsControlAssociationSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StandardsControlAssociationSummary.Builder,StandardsControlAssociationSummary>
An array that provides the enablement status and other details for each control that applies to each enabled standard.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStandardsControlAssociationSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociationStatusassociationStatus()The enablement status of a control in a specific standard.StringassociationStatusAsString()The enablement status of a control in a specific standard.static StandardsControlAssociationSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasRelatedRequirements()For responses, this returns true if the service returned a value for the RelatedRequirements property.List<String>relatedRequirements()The requirement that underlies this control in the compliance framework related to the standard.List<SdkField<?>>sdkFields()StringsecurityControlArn()The ARN of a control, such asarn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1.StringsecurityControlId()A unique standard-agnostic identifier for a control.static Class<? extends StandardsControlAssociationSummary.Builder>serializableBuilderClass()StringstandardsArn()The Amazon Resource Name (ARN) of a standard.StringstandardsControlDescription()The description of a control.StringstandardsControlTitle()The title of a control.StandardsControlAssociationSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The last time that a control's enablement status in a specified standard was updated.StringupdatedReason()The reason for updating a control's enablement status in a specified standard.-
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
-
standardsArn
public final String standardsArn()
The Amazon Resource Name (ARN) of a standard.
- Returns:
- The Amazon Resource Name (ARN) of a standard.
-
securityControlId
public final String securityControlId()
A unique standard-agnostic identifier for a control. Values for this field typically consist of an Amazon Web Service and a number, such as APIGateway.5. This field doesn't reference a specific standard.
- Returns:
- A unique standard-agnostic identifier for a control. Values for this field typically consist of an Amazon Web Service and a number, such as APIGateway.5. This field doesn't reference a specific standard.
-
securityControlArn
public final String securityControlArn()
The ARN of a control, such as
arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. This parameter doesn't mention a specific standard.- Returns:
- The ARN of a control, such as
arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. This parameter doesn't mention a specific standard.
-
associationStatus
public final AssociationStatus associationStatus()
The enablement status of a control in a specific standard.
If the service returns an enum value that is not available in the current SDK version,
associationStatuswill returnAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociationStatusAsString().- Returns:
- The enablement status of a control in a specific standard.
- See Also:
AssociationStatus
-
associationStatusAsString
public final String associationStatusAsString()
The enablement status of a control in a specific standard.
If the service returns an enum value that is not available in the current SDK version,
associationStatuswill returnAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociationStatusAsString().- Returns:
- The enablement status of a control in a specific standard.
- See Also:
AssociationStatus
-
hasRelatedRequirements
public final boolean hasRelatedRequirements()
For responses, this returns true if the service returned a value for the RelatedRequirements property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
relatedRequirements
public final List<String> relatedRequirements()
The requirement that underlies this control in the compliance framework related to the standard.
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
hasRelatedRequirements()method.- Returns:
- The requirement that underlies this control in the compliance framework related to the standard.
-
updatedAt
public final Instant updatedAt()
The last time that a control's enablement status in a specified standard was updated.
- Returns:
- The last time that a control's enablement status in a specified standard was updated.
-
updatedReason
public final String updatedReason()
The reason for updating a control's enablement status in a specified standard.
- Returns:
- The reason for updating a control's enablement status in a specified standard.
-
standardsControlTitle
public final String standardsControlTitle()
The title of a control.
- Returns:
- The title of a control.
-
standardsControlDescription
public final String standardsControlDescription()
The description of a control. This typically summarizes how Security Hub evaluates the control and the conditions under which it produces a failed finding. The parameter may reference a specific standard.
- Returns:
- The description of a control. This typically summarizes how Security Hub evaluates the control and the conditions under which it produces a failed finding. The parameter may reference a specific standard.
-
toBuilder
public StandardsControlAssociationSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StandardsControlAssociationSummary.Builder,StandardsControlAssociationSummary>
-
builder
public static StandardsControlAssociationSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends StandardsControlAssociationSummary.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.
-
-