Interface PolicyComplianceDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyComplianceDetail.Builder,PolicyComplianceDetail>,SdkBuilder<PolicyComplianceDetail.Builder,PolicyComplianceDetail>,SdkPojo
- Enclosing class:
- PolicyComplianceDetail
public static interface PolicyComplianceDetail.Builder extends SdkPojo, CopyableBuilder<PolicyComplianceDetail.Builder,PolicyComplianceDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyComplianceDetail.BuilderevaluationLimitExceeded(Boolean evaluationLimitExceeded)Indicates if over 100 resources are noncompliant with the Firewall Manager policy.PolicyComplianceDetail.BuilderexpiredAt(Instant expiredAt)A timestamp that indicates when the returned information should be considered out of date.PolicyComplianceDetail.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.PolicyComplianceDetail.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.PolicyComplianceDetail.BuildermemberAccount(String memberAccount)The Amazon Web Services account ID.PolicyComplianceDetail.BuilderpolicyId(String policyId)The ID of the Firewall Manager policy.PolicyComplianceDetail.BuilderpolicyOwner(String policyOwner)The Amazon Web Services account that created the Firewall Manager policy.PolicyComplianceDetail.Builderviolators(Collection<ComplianceViolator> violators)An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.PolicyComplianceDetail.Builderviolators(Consumer<ComplianceViolator.Builder>... violators)An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.PolicyComplianceDetail.Builderviolators(ComplianceViolator... violators)An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group 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
PolicyComplianceDetail.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
PolicyComplianceDetail.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.
-
memberAccount
PolicyComplianceDetail.Builder memberAccount(String memberAccount)
The Amazon Web Services account ID.
- Parameters:
memberAccount- The Amazon Web Services account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violators
PolicyComplianceDetail.Builder violators(Collection<ComplianceViolator> violators)
An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.
- Parameters:
violators- An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violators
PolicyComplianceDetail.Builder violators(ComplianceViolator... violators)
An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.
- Parameters:
violators- An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violators
PolicyComplianceDetail.Builder violators(Consumer<ComplianceViolator.Builder>... violators)
An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.
This is a convenience method that creates an instance of theComplianceViolator.Builderavoiding the need to create one manually viaComplianceViolator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#violators(List.) - Parameters:
violators- a consumer that will call methods onComplianceViolator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#violators(java.util.Collection)
-
evaluationLimitExceeded
PolicyComplianceDetail.Builder evaluationLimitExceeded(Boolean evaluationLimitExceeded)
Indicates if over 100 resources are noncompliant with the Firewall Manager policy.
- Parameters:
evaluationLimitExceeded- Indicates if over 100 resources are noncompliant with the Firewall Manager policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiredAt
PolicyComplianceDetail.Builder expiredAt(Instant expiredAt)
A timestamp that indicates when the returned information should be considered out of date.
- Parameters:
expiredAt- A timestamp that indicates when the returned information should be considered out of date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issueInfoMapWithStrings
PolicyComplianceDetail.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
PolicyComplianceDetail.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.
-
-