Interface PolicyComplianceStatus.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyComplianceStatus.Builder,PolicyComplianceStatus>,SdkBuilder<PolicyComplianceStatus.Builder,PolicyComplianceStatus>,SdkPojo
- Enclosing class:
- PolicyComplianceStatus
public static interface PolicyComplianceStatus.Builder extends SdkPojo, CopyableBuilder<PolicyComplianceStatus.Builder,PolicyComplianceStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyComplianceStatus.BuilderevaluationResults(Collection<EvaluationResult> evaluationResults)An array ofEvaluationResultobjects.PolicyComplianceStatus.BuilderevaluationResults(Consumer<EvaluationResult.Builder>... evaluationResults)An array ofEvaluationResultobjects.PolicyComplianceStatus.BuilderevaluationResults(EvaluationResult... evaluationResults)An array ofEvaluationResultobjects.PolicyComplianceStatus.BuilderissueInfoMap(Map<DependentServiceName,String> issueInfoMap)Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.PolicyComplianceStatus.BuilderissueInfoMapWithStrings(Map<String,String> issueInfoMap)Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.PolicyComplianceStatus.BuilderlastUpdated(Instant lastUpdated)Timestamp of the last update to theEvaluationResultobjects.PolicyComplianceStatus.BuildermemberAccount(String memberAccount)The member account ID.PolicyComplianceStatus.BuilderpolicyId(String policyId)The ID of the Firewall Manager policy.PolicyComplianceStatus.BuilderpolicyName(String policyName)The name of the Firewall Manager policy.PolicyComplianceStatus.BuilderpolicyOwner(String policyOwner)The Amazon Web Services account that created the Firewall Manager policy.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
policyOwner
PolicyComplianceStatus.Builder policyOwner(String policyOwner)
The Amazon Web Services account that created the Firewall Manager policy.
- Parameters:
policyOwner- The Amazon Web Services account that created the Firewall Manager policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyId
PolicyComplianceStatus.Builder policyId(String policyId)
The ID of the Firewall Manager policy.
- Parameters:
policyId- The ID of the Firewall Manager policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyName
PolicyComplianceStatus.Builder policyName(String policyName)
The name of the Firewall Manager policy.
- Parameters:
policyName- The name of the Firewall Manager policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberAccount
PolicyComplianceStatus.Builder memberAccount(String memberAccount)
The member account ID.
- Parameters:
memberAccount- The member account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationResults
PolicyComplianceStatus.Builder evaluationResults(Collection<EvaluationResult> evaluationResults)
An array of
EvaluationResultobjects.- Parameters:
evaluationResults- An array ofEvaluationResultobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationResults
PolicyComplianceStatus.Builder evaluationResults(EvaluationResult... evaluationResults)
An array of
EvaluationResultobjects.- Parameters:
evaluationResults- An array ofEvaluationResultobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationResults
PolicyComplianceStatus.Builder evaluationResults(Consumer<EvaluationResult.Builder>... evaluationResults)
An array of
This is a convenience method that creates an instance of theEvaluationResultobjects.EvaluationResult.Builderavoiding the need to create one manually viaEvaluationResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#evaluationResults(List.) - Parameters:
evaluationResults- a consumer that will call methods onEvaluationResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#evaluationResults(java.util.Collection)
-
lastUpdated
PolicyComplianceStatus.Builder lastUpdated(Instant lastUpdated)
Timestamp of the last update to the
EvaluationResultobjects.- Parameters:
lastUpdated- Timestamp of the last update to theEvaluationResultobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issueInfoMapWithStrings
PolicyComplianceStatus.Builder issueInfoMapWithStrings(Map<String,String> issueInfoMap)
Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.
- Parameters:
issueInfoMap- Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issueInfoMap
PolicyComplianceStatus.Builder issueInfoMap(Map<DependentServiceName,String> issueInfoMap)
Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.
- Parameters:
issueInfoMap- Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-