public static interface ViolationDetail.Builder extends SdkPojo, CopyableBuilder<ViolationDetail.Builder,ViolationDetail>
| Modifier and Type | Method and Description |
|---|---|
ViolationDetail.Builder |
memberAccount(String memberAccount)
The Amazon Web Services account that the violation details were requested for.
|
ViolationDetail.Builder |
policyId(String policyId)
The ID of the Firewall Manager policy that the violation details were requested for.
|
ViolationDetail.Builder |
resourceDescription(String resourceDescription)
Brief description for the requested resource.
|
ViolationDetail.Builder |
resourceId(String resourceId)
The resource ID that the violation details were requested for.
|
ViolationDetail.Builder |
resourceTags(Collection<Tag> resourceTags)
The
ResourceTag objects associated with the resource. |
ViolationDetail.Builder |
resourceTags(Consumer<Tag.Builder>... resourceTags)
The
ResourceTag objects associated with the resource. |
ViolationDetail.Builder |
resourceTags(Tag... resourceTags)
The
ResourceTag objects associated with the resource. |
ViolationDetail.Builder |
resourceType(String resourceType)
The resource type that the violation details were requested for.
|
ViolationDetail.Builder |
resourceViolations(Collection<ResourceViolation> resourceViolations)
List of violations for the requested resource.
|
ViolationDetail.Builder |
resourceViolations(Consumer<ResourceViolation.Builder>... resourceViolations)
List of violations for the requested resource.
|
ViolationDetail.Builder |
resourceViolations(ResourceViolation... resourceViolations)
List of violations for the requested resource.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildViolationDetail.Builder policyId(String policyId)
The ID of the Firewall Manager policy that the violation details were requested for.
policyId - The ID of the Firewall Manager policy that the violation details were requested for.ViolationDetail.Builder memberAccount(String memberAccount)
The Amazon Web Services account that the violation details were requested for.
memberAccount - The Amazon Web Services account that the violation details were requested for.ViolationDetail.Builder resourceId(String resourceId)
The resource ID that the violation details were requested for.
resourceId - The resource ID that the violation details were requested for.ViolationDetail.Builder resourceType(String resourceType)
The resource type that the violation details were requested for.
resourceType - The resource type that the violation details were requested for.ViolationDetail.Builder resourceViolations(Collection<ResourceViolation> resourceViolations)
List of violations for the requested resource.
resourceViolations - List of violations for the requested resource.ViolationDetail.Builder resourceViolations(ResourceViolation... resourceViolations)
List of violations for the requested resource.
resourceViolations - List of violations for the requested resource.ViolationDetail.Builder resourceViolations(Consumer<ResourceViolation.Builder>... resourceViolations)
List of violations for the requested resource.
This is a convenience that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #resourceViolations(List) .resourceViolations - a consumer that will call methods on List.Builder #resourceViolations(List) ViolationDetail.Builder resourceTags(Collection<Tag> resourceTags)
The ResourceTag objects associated with the resource.
resourceTags - The ResourceTag objects associated with the resource.ViolationDetail.Builder resourceTags(Tag... resourceTags)
The ResourceTag objects associated with the resource.
resourceTags - The ResourceTag objects associated with the resource.ViolationDetail.Builder resourceTags(Consumer<Tag.Builder>... resourceTags)
The ResourceTag objects associated with the resource.
List.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #resourceTags(List) .resourceTags - a consumer that will call methods on List.Builder #resourceTags(List) ViolationDetail.Builder resourceDescription(String resourceDescription)
Brief description for the requested resource.
resourceDescription - Brief description for the requested resource.Copyright © 2021. All rights reserved.