Interface Resource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Resource.Builder,
,Resource> SdkBuilder<Resource.Builder,
,Resource> SdkPojo
- Enclosing class:
Resource
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon resource name (ARN) of the resource.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.owningAccountId
(String owningAccountId) The Amazon Web Services account that owns the resource.properties
(Collection<ResourceProperty> properties) A structure with additional type-specific details about the resource.properties
(Consumer<ResourceProperty.Builder>... properties) A structure with additional type-specific details about the resource.properties
(ResourceProperty... properties) A structure with additional type-specific details about the resource.The Amazon Web Services Region in which the resource was created and exists.resourceType
(String resourceType) The type of the resource.The Amazon Web Services service that owns the resource and is responsible for creating and updating it.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, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The Amazon resource name (ARN) of the resource.
- Parameters:
arn
- The Amazon resource name (ARN) of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastReportedAt
The date and time that Resource Explorer last queried this resource and updated the index with the latest information about the resource.
- Parameters:
lastReportedAt
- The date and time that Resource Explorer last queried this resource and updated the index with the latest information about the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owningAccountId
The Amazon Web Services account that owns the resource.
- Parameters:
owningAccountId
- The Amazon Web Services account that owns the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaResourceProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproperties(List<ResourceProperty>)
.- Parameters:
properties
- a consumer that will call methods onResourceProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
region
The Amazon Web Services Region in which the resource was created and exists.
- Parameters:
region
- The Amazon Web Services Region in which the resource was created and exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of the resource.
- Parameters:
resourceType
- The type of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
The Amazon Web Services service that owns the resource and is responsible for creating and updating it.
- Parameters:
service
- The Amazon Web Services service that owns the resource and is responsible for creating and updating it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-