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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SetupHistoryResource.Builderarn(String arn)The Amazon Resource Name (ARN) of the Lightsail resource.SetupHistoryResource.BuildercreatedAt(Instant createdAt)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.SetupHistoryResource.Builderlocation(ResourceLocation location)Sets the value of the Location property for this object.SetupHistoryResource.Buildername(String name)The name of the Lightsail resource.SetupHistoryResource.BuilderresourceType(String resourceType)The Lightsail resource type.SetupHistoryResource.BuilderresourceType(ResourceType resourceType)The Lightsail resource type.-
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
-
name
SetupHistoryResource.Builder name(String 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
SetupHistoryResource.Builder arn(String 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
SetupHistoryResource.Builder createdAt(Instant 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
SetupHistoryResource.Builder location(ResourceLocation 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
default SetupHistoryResource.Builder location(Consumer<ResourceLocation.Builder> 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:
location(ResourceLocation)
-
resourceType
SetupHistoryResource.Builder resourceType(String 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,ResourceType
-
resourceType
SetupHistoryResource.Builder resourceType(ResourceType 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,ResourceType
-
-