Interface ExportSnapshotRecord.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExportSnapshotRecord.Builder,ExportSnapshotRecord>,SdkBuilder<ExportSnapshotRecord.Builder,ExportSnapshotRecord>,SdkPojo
- Enclosing class:
- ExportSnapshotRecord
public static interface ExportSnapshotRecord.Builder extends SdkPojo, CopyableBuilder<ExportSnapshotRecord.Builder,ExportSnapshotRecord>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExportSnapshotRecord.Builderarn(String arn)The Amazon Resource Name (ARN) of the export snapshot record.ExportSnapshotRecord.BuildercreatedAt(Instant createdAt)The date when the export snapshot record was created.default ExportSnapshotRecord.BuilderdestinationInfo(Consumer<DestinationInfo.Builder> destinationInfo)A list of objects describing the destination of the export snapshot record.ExportSnapshotRecord.BuilderdestinationInfo(DestinationInfo destinationInfo)A list of objects describing the destination of the export snapshot record.default ExportSnapshotRecord.Builderlocation(Consumer<ResourceLocation.Builder> location)The AWS Region and Availability Zone where the export snapshot record is located.ExportSnapshotRecord.Builderlocation(ResourceLocation location)The AWS Region and Availability Zone where the export snapshot record is located.ExportSnapshotRecord.Buildername(String name)The export snapshot record name.ExportSnapshotRecord.BuilderresourceType(String resourceType)The Lightsail resource type (ExportSnapshotRecord).ExportSnapshotRecord.BuilderresourceType(ResourceType resourceType)The Lightsail resource type (ExportSnapshotRecord).default ExportSnapshotRecord.BuildersourceInfo(Consumer<ExportSnapshotRecordSourceInfo.Builder> sourceInfo)A list of objects describing the source of the export snapshot record.ExportSnapshotRecord.BuildersourceInfo(ExportSnapshotRecordSourceInfo sourceInfo)A list of objects describing the source of the export snapshot record.ExportSnapshotRecord.Builderstate(String state)The state of the export snapshot record.ExportSnapshotRecord.Builderstate(RecordState state)The state of the export snapshot record.-
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
ExportSnapshotRecord.Builder name(String name)
The export snapshot record name.
- Parameters:
name- The export snapshot record name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
ExportSnapshotRecord.Builder arn(String arn)
The Amazon Resource Name (ARN) of the export snapshot record.
- Parameters:
arn- The Amazon Resource Name (ARN) of the export snapshot record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
ExportSnapshotRecord.Builder createdAt(Instant createdAt)
The date when the export snapshot record was created.
- Parameters:
createdAt- The date when the export snapshot record was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
ExportSnapshotRecord.Builder location(ResourceLocation location)
The AWS Region and Availability Zone where the export snapshot record is located.
- Parameters:
location- The AWS Region and Availability Zone where the export snapshot record is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
default ExportSnapshotRecord.Builder location(Consumer<ResourceLocation.Builder> location)
The AWS Region and Availability Zone where the export snapshot record is located.
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
ExportSnapshotRecord.Builder resourceType(String resourceType)
The Lightsail resource type (
ExportSnapshotRecord).- Parameters:
resourceType- The Lightsail resource type (ExportSnapshotRecord).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
resourceType
ExportSnapshotRecord.Builder resourceType(ResourceType resourceType)
The Lightsail resource type (
ExportSnapshotRecord).- Parameters:
resourceType- The Lightsail resource type (ExportSnapshotRecord).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
state
ExportSnapshotRecord.Builder state(String state)
The state of the export snapshot record.
- Parameters:
state- The state of the export snapshot record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecordState,RecordState
-
state
ExportSnapshotRecord.Builder state(RecordState state)
The state of the export snapshot record.
- Parameters:
state- The state of the export snapshot record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecordState,RecordState
-
sourceInfo
ExportSnapshotRecord.Builder sourceInfo(ExportSnapshotRecordSourceInfo sourceInfo)
A list of objects describing the source of the export snapshot record.
- Parameters:
sourceInfo- A list of objects describing the source of the export snapshot record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceInfo
default ExportSnapshotRecord.Builder sourceInfo(Consumer<ExportSnapshotRecordSourceInfo.Builder> sourceInfo)
A list of objects describing the source of the export snapshot record.
This is a convenience method that creates an instance of theExportSnapshotRecordSourceInfo.Builderavoiding the need to create one manually viaExportSnapshotRecordSourceInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceInfo(ExportSnapshotRecordSourceInfo).- Parameters:
sourceInfo- a consumer that will call methods onExportSnapshotRecordSourceInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourceInfo(ExportSnapshotRecordSourceInfo)
-
destinationInfo
ExportSnapshotRecord.Builder destinationInfo(DestinationInfo destinationInfo)
A list of objects describing the destination of the export snapshot record.
- Parameters:
destinationInfo- A list of objects describing the destination of the export snapshot record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationInfo
default ExportSnapshotRecord.Builder destinationInfo(Consumer<DestinationInfo.Builder> destinationInfo)
A list of objects describing the destination of the export snapshot record.
This is a convenience method that creates an instance of theDestinationInfo.Builderavoiding the need to create one manually viaDestinationInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationInfo(DestinationInfo).- Parameters:
destinationInfo- a consumer that will call methods onDestinationInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
destinationInfo(DestinationInfo)
-
-