Interface CreateInstanceExportTaskRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateInstanceExportTaskRequest.Builder,CreateInstanceExportTaskRequest>,Ec2Request.Builder,SdkBuilder<CreateInstanceExportTaskRequest.Builder,CreateInstanceExportTaskRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateInstanceExportTaskRequest
public static interface CreateInstanceExportTaskRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateInstanceExportTaskRequest.Builder,CreateInstanceExportTaskRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
tagSpecifications
CreateInstanceExportTaskRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the export instance task during creation.
- Parameters:
tagSpecifications- The tags to apply to the export instance task during creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateInstanceExportTaskRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the export instance task during creation.
- Parameters:
tagSpecifications- The tags to apply to the export instance task during creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateInstanceExportTaskRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the export instance task during creation.
This is a convenience method that creates an instance of theTagSpecification.Builderavoiding the need to create one manually viaTagSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tagSpecifications(List.) - Parameters:
tagSpecifications- a consumer that will call methods onTagSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tagSpecifications(java.util.Collection)
-
description
CreateInstanceExportTaskRequest.Builder description(String description)
A description for the conversion task or the resource being exported. The maximum length is 255 characters.
- Parameters:
description- A description for the conversion task or the resource being exported. The maximum length is 255 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
CreateInstanceExportTaskRequest.Builder instanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetEnvironment
CreateInstanceExportTaskRequest.Builder targetEnvironment(String targetEnvironment)
The target virtualization environment.
- Parameters:
targetEnvironment- The target virtualization environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExportEnvironment,ExportEnvironment
-
targetEnvironment
CreateInstanceExportTaskRequest.Builder targetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
- Parameters:
targetEnvironment- The target virtualization environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExportEnvironment,ExportEnvironment
-
exportToS3Task
CreateInstanceExportTaskRequest.Builder exportToS3Task(ExportToS3TaskSpecification exportToS3Task)
The format and location for an export instance task.
- Parameters:
exportToS3Task- The format and location for an export instance task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportToS3Task
default CreateInstanceExportTaskRequest.Builder exportToS3Task(Consumer<ExportToS3TaskSpecification.Builder> exportToS3Task)
The format and location for an export instance task.
This is a convenience method that creates an instance of theExportToS3TaskSpecification.Builderavoiding the need to create one manually viaExportToS3TaskSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexportToS3Task(ExportToS3TaskSpecification).- Parameters:
exportToS3Task- a consumer that will call methods onExportToS3TaskSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
exportToS3Task(ExportToS3TaskSpecification)
-
overrideConfiguration
CreateInstanceExportTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateInstanceExportTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-