public static interface Resource.Builder extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
| Modifier and Type | Method and Description |
|---|---|
Resource.Builder |
arn(String arn)
The Amazon resource name
(ARN) of the resource.
|
Resource.Builder |
lastReportedAt(Instant lastReportedAt)
The date and time that Resource Explorer last queried this resource and updated the index with the latest
information about the resource.
|
Resource.Builder |
owningAccountId(String owningAccountId)
The Amazon Web Services account that owns the resource.
|
Resource.Builder |
properties(Collection<ResourceProperty> properties)
A structure with additional type-specific details about the resource.
|
Resource.Builder |
properties(Consumer<ResourceProperty.Builder>... properties)
A structure with additional type-specific details about the resource.
|
Resource.Builder |
properties(ResourceProperty... properties)
A structure with additional type-specific details about the resource.
|
Resource.Builder |
region(String region)
The Amazon Web Services Region in which the resource was created and exists.
|
Resource.Builder |
resourceType(String resourceType)
The type of the resource.
|
Resource.Builder |
service(String service)
The Amazon Web Service that owns the resource and is responsible for creating and updating it.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResource.Builder arn(String arn)
The Amazon resource name (ARN) of the resource.
arn - The Amazon
resource name (ARN) of the resource.Resource.Builder lastReportedAt(Instant lastReportedAt)
The date and time that Resource Explorer last queried this resource and updated the index with the latest information about the resource.
lastReportedAt - The date and time that Resource Explorer last queried this resource and updated the index with the
latest information about the resource.Resource.Builder owningAccountId(String owningAccountId)
The Amazon Web Services account that owns the resource.
owningAccountId - The Amazon Web Services account that owns the resource.Resource.Builder properties(Collection<ResourceProperty> properties)
A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.
properties - A structure with additional type-specific details about the resource. These properties can be added by
turning on integration between Resource Explorer and other Amazon Web Services services.Resource.Builder properties(ResourceProperty... properties)
A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.
properties - A structure with additional type-specific details about the resource. These properties can be added by
turning on integration between Resource Explorer and other Amazon Web Services services.Resource.Builder properties(Consumer<ResourceProperty.Builder>... properties)
A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.
This is a convenience method that creates an instance of theResourceProperty.Builder avoiding the need to
create one manually via
ResourceProperty.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #properties(List.
properties - a consumer that will call methods on
ResourceProperty.Builder#properties(java.util.Collection) Resource.Builder region(String region)
The Amazon Web Services Region in which the resource was created and exists.
region - The Amazon Web Services Region in which the resource was created and exists.Resource.Builder resourceType(String resourceType)
The type of the resource.
resourceType - The type of the resource.Resource.Builder service(String service)
The Amazon Web Service that owns the resource and is responsible for creating and updating it.
service - The Amazon Web Service that owns the resource and is responsible for creating and updating it.Copyright © 2023. All rights reserved.