Class ControlSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ControlSummary.Builder,ControlSummary>
A summary of a leaf control returned by ListControls, including identity and display attributes. To
retrieve requirements and control intents, use GetControl or BatchGetControl.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ControlSummary.Builderbuilder()final StringThe control identifier.final StringA description of the control.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends ControlSummary.Builder> final ReleaseStatusstatus()The lifecycle status of the control.final StringThe lifecycle status of the control.final Stringtitle()The human-readable title of the control.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final ControlTypetype()The type of the control.final StringThe type of the control.final WorkflowTypeHow AWS Assurance evaluates the control.final StringHow AWS Assurance evaluates the control.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
type
The type of the control.
If the service returns an enum value that is not available in the current SDK version,
typewill returnControlType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the control.
- See Also:
-
typeAsString
The type of the control.
If the service returns an enum value that is not available in the current SDK version,
typewill returnControlType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the control.
- See Also:
-
controlId
The control identifier. Optional. If omitted, the operation applies to the full framework.
- Returns:
- The control identifier. Optional. If omitted, the operation applies to the full framework.
-
title
The human-readable title of the control.
- Returns:
- The human-readable title of the control.
-
description
A description of the control.
- Returns:
- A description of the control.
-
workflowType
How AWS Assurance evaluates the control. Applies only to leaf controls. Valid values:
-
automated-scan– Evaluates the configuration of your AWS resources. -
document– Evaluates the evidence documents that you provide. -
hybrid– Evaluates both resource configuration and evidence documents.
If the service returns an enum value that is not available in the current SDK version,
workflowTypewill returnWorkflowType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromworkflowTypeAsString().- Returns:
- How AWS Assurance evaluates the control. Applies only to leaf controls. Valid values:
-
automated-scan– Evaluates the configuration of your AWS resources. -
document– Evaluates the evidence documents that you provide. -
hybrid– Evaluates both resource configuration and evidence documents.
-
- See Also:
-
-
workflowTypeAsString
How AWS Assurance evaluates the control. Applies only to leaf controls. Valid values:
-
automated-scan– Evaluates the configuration of your AWS resources. -
document– Evaluates the evidence documents that you provide. -
hybrid– Evaluates both resource configuration and evidence documents.
If the service returns an enum value that is not available in the current SDK version,
workflowTypewill returnWorkflowType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromworkflowTypeAsString().- Returns:
- How AWS Assurance evaluates the control. Applies only to leaf controls. Valid values:
-
automated-scan– Evaluates the configuration of your AWS resources. -
document– Evaluates the evidence documents that you provide. -
hybrid– Evaluates both resource configuration and evidence documents.
-
- See Also:
-
-
status
The lifecycle status of the control.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnReleaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The lifecycle status of the control.
- See Also:
-
statusAsString
The lifecycle status of the control.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnReleaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The lifecycle status of the control.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ControlSummary.Builder,ControlSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-