Interface ViolationDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ViolationDetail.Builder,ViolationDetail>,SdkBuilder<ViolationDetail.Builder,ViolationDetail>,SdkPojo
- Enclosing class:
- ViolationDetail
public static interface ViolationDetail.Builder extends SdkPojo, CopyableBuilder<ViolationDetail.Builder,ViolationDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ViolationDetail.BuildermemberAccount(String memberAccount)The Amazon Web Services account that the violation details were requested for.ViolationDetail.BuilderpolicyId(String policyId)The ID of the Firewall Manager policy that the violation details were requested for.ViolationDetail.BuilderresourceDescription(String resourceDescription)Brief description for the requested resource.ViolationDetail.BuilderresourceId(String resourceId)The resource ID that the violation details were requested for.ViolationDetail.BuilderresourceTags(Collection<Tag> resourceTags)TheResourceTagobjects associated with the resource.ViolationDetail.BuilderresourceTags(Consumer<Tag.Builder>... resourceTags)TheResourceTagobjects associated with the resource.ViolationDetail.BuilderresourceTags(Tag... resourceTags)TheResourceTagobjects associated with the resource.ViolationDetail.BuilderresourceType(String resourceType)The resource type that the violation details were requested for.ViolationDetail.BuilderresourceViolations(Collection<ResourceViolation> resourceViolations)List of violations for the requested resource.ViolationDetail.BuilderresourceViolations(Consumer<ResourceViolation.Builder>... resourceViolations)List of violations for the requested resource.ViolationDetail.BuilderresourceViolations(ResourceViolation... resourceViolations)List of violations for the requested resource.-
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
-
policyId
ViolationDetail.Builder policyId(String policyId)
The ID of the Firewall Manager policy that the violation details were requested for.
- Parameters:
policyId- The ID of the Firewall Manager policy that the violation details were requested for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberAccount
ViolationDetail.Builder memberAccount(String memberAccount)
The Amazon Web Services account that the violation details were requested for.
- Parameters:
memberAccount- The Amazon Web Services account that the violation details were requested for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
ViolationDetail.Builder resourceId(String resourceId)
The resource ID that the violation details were requested for.
- Parameters:
resourceId- The resource ID that the violation details were requested for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
ViolationDetail.Builder resourceType(String resourceType)
The resource type that the violation details were requested for.
- Parameters:
resourceType- The resource type that the violation details were requested for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceViolations
ViolationDetail.Builder resourceViolations(Collection<ResourceViolation> resourceViolations)
List of violations for the requested resource.
- Parameters:
resourceViolations- List of violations for the requested resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceViolations
ViolationDetail.Builder resourceViolations(ResourceViolation... resourceViolations)
List of violations for the requested resource.
- Parameters:
resourceViolations- List of violations for the requested resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceViolations
ViolationDetail.Builder resourceViolations(Consumer<ResourceViolation.Builder>... resourceViolations)
List of violations for the requested resource.
This is a convenience method that creates an instance of theResourceViolation.Builderavoiding the need to create one manually viaResourceViolation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourceViolations(List.) - Parameters:
resourceViolations- a consumer that will call methods onResourceViolation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resourceViolations(java.util.Collection)
-
resourceTags
ViolationDetail.Builder resourceTags(Collection<Tag> resourceTags)
The
ResourceTagobjects associated with the resource.- Parameters:
resourceTags- TheResourceTagobjects associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
ViolationDetail.Builder resourceTags(Tag... resourceTags)
The
ResourceTagobjects associated with the resource.- Parameters:
resourceTags- TheResourceTagobjects associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
ViolationDetail.Builder resourceTags(Consumer<Tag.Builder>... resourceTags)
The
This is a convenience method that creates an instance of theResourceTagobjects associated with the resource.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourceTags(List.) - Parameters:
resourceTags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resourceTags(java.util.Collection)
-
resourceDescription
ViolationDetail.Builder resourceDescription(String resourceDescription)
Brief description for the requested resource.
- Parameters:
resourceDescription- Brief description for the requested resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-