Interface RelatedResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RelatedResource.Builder,
,RelatedResource> SdkBuilder<RelatedResource.Builder,
,RelatedResource> SdkPojo
- Enclosing class:
RelatedResource
public static interface RelatedResource.Builder
extends SdkPojo, CopyableBuilder<RelatedResource.Builder,RelatedResource>
-
Method Summary
Modifier and TypeMethodDescriptionadditionalInfo
(Map<String, String> additionalInfo) Other information about the resource.default RelatedResource.Builder
resourceIdentifier
(Consumer<ResourceIdentifier.Builder> resourceIdentifier) Information that identifies the resource.resourceIdentifier
(ResourceIdentifier resourceIdentifier) Information that identifies the resource.resourceType
(String resourceType) The type of resource.resourceType
(ResourceType resourceType) The type of resource.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, sdkFields
-
Method Details
-
resourceType
The type of resource.
- Parameters:
resourceType
- The type of resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of resource.
- Parameters:
resourceType
- The type of resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceIdentifier
Information that identifies the resource.
- Parameters:
resourceIdentifier
- Information that identifies the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
default RelatedResource.Builder resourceIdentifier(Consumer<ResourceIdentifier.Builder> resourceIdentifier) Information that identifies the resource.
This is a convenience method that creates an instance of theResourceIdentifier.Builder
avoiding the need to create one manually viaResourceIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceIdentifier(ResourceIdentifier)
.- Parameters:
resourceIdentifier
- a consumer that will call methods onResourceIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalInfo
Other information about the resource.
- Parameters:
additionalInfo
- Other information about the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-