Interface SetupHistoryResource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SetupHistoryResource.Builder,,SetupHistoryResource> SdkBuilder<SetupHistoryResource.Builder,,SetupHistoryResource> SdkPojo
- Enclosing class:
SetupHistoryResource
public static interface SetupHistoryResource.Builder
extends SdkPojo, CopyableBuilder<SetupHistoryResource.Builder,SetupHistoryResource>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the Lightsail resource.The timestamp for when the resource was created.default SetupHistoryResource.Builderlocation(Consumer<ResourceLocation.Builder> location) Sets the value of the Location property for this object.location(ResourceLocation location) Sets the value of the Location property for this object.The name of the Lightsail resource.resourceType(String resourceType) The Lightsail resource type.resourceType(ResourceType resourceType) The Lightsail resource type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the Lightsail resource.
- Parameters:
name- The name of the Lightsail resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the Lightsail resource.
- Parameters:
arn- The Amazon Resource Name (ARN) of the Lightsail resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp for when the resource was created.
- Parameters:
createdAt- The timestamp for when the resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
Sets the value of the Location property for this object.- Parameters:
location- The new value for the Location property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
Sets the value of the Location property for this object. This is a convenience method that creates an instance of theResourceLocation.Builderavoiding the need to create one manually viaResourceLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocation(ResourceLocation).- Parameters:
location- a consumer that will call methods onResourceLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The Lightsail resource type. For example,
Instance.- Parameters:
resourceType- The Lightsail resource type. For example,Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The Lightsail resource type. For example,
Instance.- Parameters:
resourceType- The Lightsail resource type. For example,Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-