public static interface Resource.Builder extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
| Modifier and Type | Method and Description |
|---|---|
default Resource.Builder |
details(Consumer<ResourceDetails.Builder> details)
An object that contains details about the resource involved in a finding.
|
Resource.Builder |
details(ResourceDetails details)
An object that contains details about the resource involved in a finding.
|
Resource.Builder |
id(String id)
The ID of the resource.
|
Resource.Builder |
partition(String partition)
The partition of the resource.
|
Resource.Builder |
region(String region)
The Amazon Web Services Region the impacted resource is located in.
|
Resource.Builder |
tags(Map<String,String> tags)
The tags attached to the resource.
|
Resource.Builder |
type(ResourceType type)
The type of resource.
|
Resource.Builder |
type(String type)
The type of resource.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResource.Builder details(ResourceDetails details)
An object that contains details about the resource involved in a finding.
details - An object that contains details about the resource involved in a finding.default Resource.Builder details(Consumer<ResourceDetails.Builder> details)
An object that contains details about the resource involved in a finding.
This is a convenience method that creates an instance of theResourceDetails.Builder avoiding the
need to create one manually via ResourceDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to details(ResourceDetails).details - a consumer that will call methods on ResourceDetails.Builderdetails(ResourceDetails)Resource.Builder id(String id)
The ID of the resource.
id - The ID of the resource.Resource.Builder partition(String partition)
The partition of the resource.
partition - The partition of the resource.Resource.Builder region(String region)
The Amazon Web Services Region the impacted resource is located in.
region - The Amazon Web Services Region the impacted resource is located in.Resource.Builder tags(Map<String,String> tags)
The tags attached to the resource.
tags - The tags attached to the resource.Resource.Builder type(String type)
The type of resource.
type - The type of resource.ResourceType,
ResourceTypeResource.Builder type(ResourceType type)
The type of resource.
type - The type of resource.ResourceType,
ResourceTypeCopyright © 2022. All rights reserved.