Interface ViolationDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ViolationDetail.Builder,
,ViolationDetail> SdkBuilder<ViolationDetail.Builder,
,ViolationDetail> SdkPojo
- Enclosing class:
ViolationDetail
-
Method Summary
Modifier and TypeMethodDescriptionmemberAccount
(String memberAccount) The Amazon Web Services account that the violation details were requested for.The ID of the Firewall Manager policy that the violation details were requested for.resourceDescription
(String resourceDescription) Brief description for the requested resource.resourceId
(String resourceId) The resource ID that the violation details were requested for.resourceTags
(Collection<Tag> resourceTags) TheResourceTag
objects associated with the resource.resourceTags
(Consumer<Tag.Builder>... resourceTags) TheResourceTag
objects associated with the resource.resourceTags
(Tag... resourceTags) TheResourceTag
objects associated with the resource.resourceType
(String resourceType) The resource type that the violation details were requested for.resourceViolations
(Collection<ResourceViolation> resourceViolations) List of violations for the requested resource.resourceViolations
(Consumer<ResourceViolation.Builder>... resourceViolations) List of violations for the requested resource.resourceViolations
(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 Details
-
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
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
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
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
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
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.Builder
avoiding the need to create one manually viaResourceViolation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceViolations(List<ResourceViolation>)
.- 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:
-
resourceTags
The
ResourceTag
objects associated with the resource.- Parameters:
resourceTags
- TheResourceTag
objects associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
The
ResourceTag
objects associated with the resource.- Parameters:
resourceTags
- TheResourceTag
objects associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
The
This is a convenience method that creates an instance of theResourceTag
objects associated with the resource.Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceTags(List<Tag>)
.- 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:
-
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.
-