public static interface AssociateCreatedArtifactRequest.Builder extends MigrationHubRequest.Builder, CopyableBuilder<AssociateCreatedArtifactRequest.Builder,AssociateCreatedArtifactRequest>
Modifier and Type | Method and Description |
---|---|
default AssociateCreatedArtifactRequest.Builder |
createdArtifact(Consumer<CreatedArtifact.Builder> createdArtifact)
An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
|
AssociateCreatedArtifactRequest.Builder |
createdArtifact(CreatedArtifact createdArtifact)
An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
|
AssociateCreatedArtifactRequest.Builder |
dryRun(Boolean dryRun)
Optional boolean flag to indicate whether any effect should take place.
|
AssociateCreatedArtifactRequest.Builder |
migrationTaskName(String migrationTaskName)
Unique identifier that references the migration task.
|
AssociateCreatedArtifactRequest.Builder |
progressUpdateStream(String progressUpdateStream)
The name of the ProgressUpdateStream.
|
AssociateCreatedArtifactRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
AssociateCreatedArtifactRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
AssociateCreatedArtifactRequest.Builder progressUpdateStream(String progressUpdateStream)
The name of the ProgressUpdateStream.
progressUpdateStream
- The name of the ProgressUpdateStream.AssociateCreatedArtifactRequest.Builder migrationTaskName(String migrationTaskName)
Unique identifier that references the migration task.
migrationTaskName
- Unique identifier that references the migration task.AssociateCreatedArtifactRequest.Builder createdArtifact(CreatedArtifact createdArtifact)
An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
createdArtifact
- An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)default AssociateCreatedArtifactRequest.Builder createdArtifact(Consumer<CreatedArtifact.Builder> createdArtifact)
An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
This is a convenience that creates an instance of theCreatedArtifact.Builder
avoiding the need to
create one manually via CreatedArtifact.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to createdArtifact(CreatedArtifact)
.createdArtifact
- a consumer that will call methods on CreatedArtifact.Builder
createdArtifact(CreatedArtifact)
AssociateCreatedArtifactRequest.Builder dryRun(Boolean dryRun)
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
dryRun
- Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has
permission to make the call.AssociateCreatedArtifactRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.AssociateCreatedArtifactRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.