public static interface ImportSnapshotRequest.Builder extends EC2Request.Builder, CopyableBuilder<ImportSnapshotRequest.Builder,ImportSnapshotRequest>
| Modifier and Type | Method and Description |
|---|---|
ImportSnapshotRequest.Builder |
clientData(ClientData clientData)
The client-specific data.
|
default ImportSnapshotRequest.Builder |
clientData(Consumer<ClientData.Builder> clientData)
The client-specific data.
|
ImportSnapshotRequest.Builder |
clientToken(String clientToken)
Token to enable idempotency for VM import requests.
|
ImportSnapshotRequest.Builder |
description(String description)
The description string for the import snapshot task.
|
default ImportSnapshotRequest.Builder |
diskContainer(Consumer<SnapshotDiskContainer.Builder> diskContainer)
Information about the disk container.
|
ImportSnapshotRequest.Builder |
diskContainer(SnapshotDiskContainer diskContainer)
Information about the disk container.
|
ImportSnapshotRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ImportSnapshotRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
ImportSnapshotRequest.Builder |
roleName(String roleName)
The name of the role to use when not using the default role, 'vmimport'.
|
buildrequestOverrideConfigcopyapply, buildImportSnapshotRequest.Builder clientData(ClientData clientData)
The client-specific data.
clientData - The client-specific data.default ImportSnapshotRequest.Builder clientData(Consumer<ClientData.Builder> clientData)
The client-specific data.
This is a convenience that creates an instance of theClientData.Builder avoiding the need to create
one manually via ClientData.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to clientData(ClientData).clientData - a consumer that will call methods on ClientData.BuilderclientData(ClientData)ImportSnapshotRequest.Builder clientToken(String clientToken)
Token to enable idempotency for VM import requests.
clientToken - Token to enable idempotency for VM import requests.ImportSnapshotRequest.Builder description(String description)
The description string for the import snapshot task.
description - The description string for the import snapshot task.ImportSnapshotRequest.Builder diskContainer(SnapshotDiskContainer diskContainer)
Information about the disk container.
diskContainer - Information about the disk container.default ImportSnapshotRequest.Builder diskContainer(Consumer<SnapshotDiskContainer.Builder> diskContainer)
Information about the disk container.
This is a convenience that creates an instance of theSnapshotDiskContainer.Builder avoiding the need
to create one manually via SnapshotDiskContainer.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to diskContainer(SnapshotDiskContainer).diskContainer - a consumer that will call methods on SnapshotDiskContainer.BuilderdiskContainer(SnapshotDiskContainer)ImportSnapshotRequest.Builder roleName(String roleName)
The name of the role to use when not using the default role, 'vmimport'.
roleName - The name of the role to use when not using the default role, 'vmimport'.ImportSnapshotRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.ImportSnapshotRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.