Interface Compliance.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Compliance.Builder,,Compliance> SdkBuilder<Compliance.Builder,,Compliance> SdkPojo
- Enclosing class:
Compliance
-
Method Summary
Modifier and TypeMethodDescriptionassociatedStandards(Collection<AssociatedStandard> associatedStandards) Typically provides an array of enabled security standards in which a security control is currently enabled.associatedStandards(Consumer<AssociatedStandard.Builder>... associatedStandards) Typically provides an array of enabled security standards in which a security control is currently enabled.associatedStandards(AssociatedStandard... associatedStandards) Typically provides an array of enabled security standards in which a security control is currently enabled.relatedRequirements(String... relatedRequirements) Typically provides the industry or regulatory framework requirements that are related to a control.relatedRequirements(Collection<String> relatedRequirements) Typically provides the industry or regulatory framework requirements that are related to a control.securityControlId(String securityControlId) Typically provides the unique identifier of a control across standards.securityControlParameters(Collection<SecurityControlParameter> securityControlParameters) Typically an object that includes security control parameter names and values.securityControlParameters(Consumer<SecurityControlParameter.Builder>... securityControlParameters) Typically an object that includes security control parameter names and values.securityControlParameters(SecurityControlParameter... securityControlParameters) Typically an object that includes security control parameter names and values.Typically summarizes the result of a control check.status(ComplianceStatus status) Typically summarizes the result of a control check.statusReasons(Collection<StatusReason> statusReasons) Typically used to provide a list of reasons for the value ofStatus.statusReasons(Consumer<StatusReason.Builder>... statusReasons) Typically used to provide a list of reasons for the value ofStatus.statusReasons(StatusReason... statusReasons) Typically used to provide a list of reasons for the value ofStatus.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
status
Typically summarizes the result of a control check.
For Security Hub controls, valid values for
Statusare as follows.-
-
PASSED- Standards check passed for all evaluated resources. -
WARNING- Some information is missing or this check is not supported for your configuration. -
FAILED- Standards check failed for at least one evaluated resource. -
NOT_AVAILABLE- Check could not be performed due to a service outage, API error, or because the result of the Config evaluation wasNOT_APPLICABLE. If the Config evaluation result wasNOT_APPLICABLEfor a Security Hub control, Security Hub automatically archives the finding after 3 days.
-
- Parameters:
status- Typically summarizes the result of a control check.For Security Hub controls, valid values for
Statusare as follows.-
-
PASSED- Standards check passed for all evaluated resources. -
WARNING- Some information is missing or this check is not supported for your configuration. -
FAILED- Standards check failed for at least one evaluated resource. -
NOT_AVAILABLE- Check could not be performed due to a service outage, API error, or because the result of the Config evaluation wasNOT_APPLICABLE. If the Config evaluation result wasNOT_APPLICABLEfor a Security Hub control, Security Hub automatically archives the finding after 3 days.
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
Typically summarizes the result of a control check.
For Security Hub controls, valid values for
Statusare as follows.-
-
PASSED- Standards check passed for all evaluated resources. -
WARNING- Some information is missing or this check is not supported for your configuration. -
FAILED- Standards check failed for at least one evaluated resource. -
NOT_AVAILABLE- Check could not be performed due to a service outage, API error, or because the result of the Config evaluation wasNOT_APPLICABLE. If the Config evaluation result wasNOT_APPLICABLEfor a Security Hub control, Security Hub automatically archives the finding after 3 days.
-
- Parameters:
status- Typically summarizes the result of a control check.For Security Hub controls, valid values for
Statusare as follows.-
-
PASSED- Standards check passed for all evaluated resources. -
WARNING- Some information is missing or this check is not supported for your configuration. -
FAILED- Standards check failed for at least one evaluated resource. -
NOT_AVAILABLE- Check could not be performed due to a service outage, API error, or because the result of the Config evaluation wasNOT_APPLICABLE. If the Config evaluation result wasNOT_APPLICABLEfor a Security Hub control, Security Hub automatically archives the finding after 3 days.
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
statusReasons
Typically used to provide a list of reasons for the value of
Status.- Parameters:
statusReasons- Typically used to provide a list of reasons for the value ofStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReasons
Typically used to provide a list of reasons for the value of
Status.- Parameters:
statusReasons- Typically used to provide a list of reasons for the value ofStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReasons
Typically used to provide a list of reasons for the value of
This is a convenience method that creates an instance of theStatus.StatusReason.Builderavoiding the need to create one manually viaStatusReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatusReasons(List<StatusReason>).- Parameters:
statusReasons- a consumer that will call methods onStatusReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
securityControlId
Typically provides the unique identifier of a control across standards. For Security Hub controls, this field consists of an Amazon Web Services service and a unique number, such as
APIGateway.5.- Parameters:
securityControlId- Typically provides the unique identifier of a control across standards. For Security Hub controls, this field consists of an Amazon Web Services service and a unique number, such asAPIGateway.5.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedStandards
Typically provides an array of enabled security standards in which a security control is currently enabled.
- Parameters:
associatedStandards- Typically provides an array of enabled security standards in which a security control is currently enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedStandards
Typically provides an array of enabled security standards in which a security control is currently enabled.
- Parameters:
associatedStandards- Typically provides an array of enabled security standards in which a security control is currently enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedStandards
Typically provides an array of enabled security standards in which a security control is currently enabled.
This is a convenience method that creates an instance of theAssociatedStandard.Builderavoiding the need to create one manually viaAssociatedStandard.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedStandards(List<AssociatedStandard>).- Parameters:
associatedStandards- a consumer that will call methods onAssociatedStandard.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
securityControlParameters
Compliance.Builder securityControlParameters(Collection<SecurityControlParameter> securityControlParameters) Typically an object that includes security control parameter names and values.
- Parameters:
securityControlParameters- Typically an object that includes security control parameter names and values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityControlParameters
Typically an object that includes security control parameter names and values.
- Parameters:
securityControlParameters- Typically an object that includes security control parameter names and values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityControlParameters
Compliance.Builder securityControlParameters(Consumer<SecurityControlParameter.Builder>... securityControlParameters) Typically an object that includes security control parameter names and values.
This is a convenience method that creates an instance of theSecurityControlParameter.Builderavoiding the need to create one manually viaSecurityControlParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecurityControlParameters(List<SecurityControlParameter>).- Parameters:
securityControlParameters- a consumer that will call methods onSecurityControlParameter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-