Interface FindingPosture.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FindingPosture.Builder,,FindingPosture> SdkBuilder<FindingPosture.Builder,,FindingPosture> SdkPojo
- Enclosing class:
FindingPosture
@Mutable
@NotThreadSafe
public static interface FindingPosture.Builder
extends SdkPojo, CopyableBuilder<FindingPosture.Builder,FindingPosture>
-
Method Summary
Modifier and TypeMethodDescriptionapplication(String application) The application the posture was assessed against.applicationUid(String applicationUid) Sets the value of the ApplicationUid property for this object.applicationVersion(String applicationVersion) Sets the value of the ApplicationVersion property for this object.checks(Collection<FindingComplianceCheck> checks) The individual checks performed.checks(Consumer<FindingComplianceCheck.Builder>... checks) The individual checks performed.checks(FindingComplianceCheck... checks) The individual checks performed.The control assessed, and the producer's description of it.description(String description) Sets the value of the Description property for this object.remediation(String remediation) Sets the value of the Remediation property for this object.remediationReferences(String... remediationReferences) Sets the value of the RemediationReferences property for this object.remediationReferences(Collection<String> remediationReferences) Sets the value of the RemediationReferences property for this object.requirements(String... requirements) Sets the value of the Requirements property for this object.requirements(Collection<String> requirements) Sets the value of the Requirements property for this object.Standards and requirements the control maps to.standards(Collection<String> standards) Standards and requirements the control maps to.The producer's compliance status, and the enum value behind it.The producer's numeric enum value forstatus.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, sdkFieldNameToField, sdkFields
-
Method Details
-
application
The application the posture was assessed against.
- Parameters:
application- The application the posture was assessed against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationUid
Sets the value of the ApplicationUid property for this object.- Parameters:
applicationUid- The new value for the ApplicationUid property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationVersion
Sets the value of the ApplicationVersion property for this object.- Parameters:
applicationVersion- The new value for the ApplicationVersion property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
control
The control assessed, and the producer's description of it.
- Parameters:
control- The control assessed, and the producer's description of it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standards
Standards and requirements the control maps to.
- Parameters:
standards- Standards and requirements the control maps to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standards
Standards and requirements the control maps to.
- Parameters:
standards- Standards and requirements the control maps to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requirements
Sets the value of the Requirements property for this object.- Parameters:
requirements- The new value for the Requirements property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requirements
Sets the value of the Requirements property for this object.- Parameters:
requirements- The new value for the Requirements property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checks
The individual checks performed.
- Parameters:
checks- The individual checks performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checks
The individual checks performed.
- Parameters:
checks- The individual checks performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checks
The individual checks performed.
This is a convenience method that creates an instance of theFindingComplianceCheck.Builderavoiding the need to create one manually viaFindingComplianceCheck.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochecks(List<FindingComplianceCheck>).- Parameters:
checks- a consumer that will call methods onFindingComplianceCheck.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The producer's compliance status, and the enum value behind it.
- Parameters:
status- The producer's compliance status, and the enum value behind it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusId
The producer's numeric enum value for
status.- Parameters:
statusId- The producer's numeric enum value forstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remediation
Sets the value of the Remediation property for this object.- Parameters:
remediation- The new value for the Remediation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remediationReferences
Sets the value of the RemediationReferences property for this object.- Parameters:
remediationReferences- The new value for the RemediationReferences property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remediationReferences
Sets the value of the RemediationReferences property for this object.- Parameters:
remediationReferences- The new value for the RemediationReferences property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-