public static interface AssociateCreatedArtifactRequest.Builder extends MigrationHubRequest.Builder, SdkPojo, 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AssociateCreatedArtifactRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
AssociateCreatedArtifactRequest.Builder |
progressUpdateStream(String progressUpdateStream)
The name of the ProgressUpdateStream.
|
build
overrideConfiguration
copy
applyMutation, 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AssociateCreatedArtifactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.