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 method that creates an instance of theResourceViolation.Builder avoiding the need to create one
manually via ResourceViolation.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #resourceViolations(List.
resourceViolations - a consumer that will call methods on
ResourceViolation.Builder#resourceViolations(java.util.Collection) 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.
Tag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #resourceTags(List.
resourceTags - a consumer that will call methods on Tag.Builder#resourceTags(java.util.Collection) ViolationDetail.Builder resourceDescription(String resourceDescription)
Brief description for the requested resource.
resourceDescription - Brief description for the requested resource.Copyright © 2022. All rights reserved.