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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RelatedResource.BuilderadditionalInfo(Map<String,String> additionalInfo)Other information about the resource.default RelatedResource.BuilderresourceIdentifier(Consumer<ResourceIdentifier.Builder> resourceIdentifier)Information that identifies the resource.RelatedResource.BuilderresourceIdentifier(ResourceIdentifier resourceIdentifier)Information that identifies the resource.RelatedResource.BuilderresourceType(String resourceType)The type of resource.RelatedResource.BuilderresourceType(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 Detail
-
resourceType
RelatedResource.Builder resourceType(String 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,ResourceType
-
resourceType
RelatedResource.Builder resourceType(ResourceType 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,ResourceType
-
resourceIdentifier
RelatedResource.Builder resourceIdentifier(ResourceIdentifier 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.Builderavoiding the need to create one manually viaResourceIdentifier.builder().When the
Consumercompletes,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:
resourceIdentifier(ResourceIdentifier)
-
additionalInfo
RelatedResource.Builder additionalInfo(Map<String,String> 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.
-
-