Interface ExportSnapshotRecord.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExportSnapshotRecord.Builder,
,ExportSnapshotRecord> SdkBuilder<ExportSnapshotRecord.Builder,
,ExportSnapshotRecord> SdkPojo
- Enclosing class:
ExportSnapshotRecord
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the export snapshot record.The date when the export snapshot record was created.default ExportSnapshotRecord.Builder
destinationInfo
(Consumer<DestinationInfo.Builder> destinationInfo) A list of objects describing the destination of the export snapshot record.destinationInfo
(DestinationInfo destinationInfo) A list of objects describing the destination of the export snapshot record.default ExportSnapshotRecord.Builder
location
(Consumer<ResourceLocation.Builder> location) The AWS Region and Availability Zone where the export snapshot record is located.location
(ResourceLocation location) The AWS Region and Availability Zone where the export snapshot record is located.The export snapshot record name.resourceType
(String resourceType) The Lightsail resource type (ExportSnapshotRecord
).resourceType
(ResourceType resourceType) The Lightsail resource type (ExportSnapshotRecord
).default ExportSnapshotRecord.Builder
sourceInfo
(Consumer<ExportSnapshotRecordSourceInfo.Builder> sourceInfo) A list of objects describing the source of the export snapshot record.sourceInfo
(ExportSnapshotRecordSourceInfo sourceInfo) A list of objects describing the source of the export snapshot record.The state of the export snapshot record.state
(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 Details
-
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
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
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
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
The AWS Region and Availability Zone where the export snapshot record is located.
This is a convenience method that creates an instance of theResourceLocation.Builder
avoiding the need to create one manually viaResourceLocation.builder()
.When the
Consumer
completes,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 (
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
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:
-
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:
-
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:
-
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.Builder
avoiding the need to create one manually viaExportSnapshotRecordSourceInfo.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaDestinationInfo.builder()
.When the
Consumer
completes,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:
-