Interface GetNetworkMigrationDefinitionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetNetworkMigrationDefinitionResponse.Builder,,GetNetworkMigrationDefinitionResponse> MgnResponse.Builder,SdkBuilder<GetNetworkMigrationDefinitionResponse.Builder,,GetNetworkMigrationDefinitionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetNetworkMigrationDefinitionResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the network migration definition.The timestamp when the network migration definition was created.description(String description) A description of the network migration definition.The name of the network migration definition.networkMigrationDefinitionID(String networkMigrationDefinitionID) The unique identifier of the network migration definition.Scope tags for the network migration definition.sourceConfigurations(Collection<SourceConfiguration> sourceConfigurations) A list of source configurations for the network migration.sourceConfigurations(Consumer<SourceConfiguration.Builder>... sourceConfigurations) A list of source configurations for the network migration.sourceConfigurations(SourceConfiguration... sourceConfigurations) A list of source configurations for the network migration.Tags assigned to the network migration definition.targetDeployment(String targetDeployment) The target deployment configuration for the migrated network.targetDeployment(TargetDeployment targetDeployment) The target deployment configuration for the migrated network.targetNetwork(Consumer<TargetNetwork.Builder> targetNetwork) The target network configuration including topology and CIDR ranges.targetNetwork(TargetNetwork targetNetwork) The target network configuration including topology and CIDR ranges.targetS3Configuration(Consumer<TargetS3Configuration.Builder> targetS3Configuration) The S3 configuration for storing the target network artifacts.targetS3Configuration(TargetS3Configuration targetS3Configuration) The S3 configuration for storing the target network artifacts.The timestamp when the network migration definition was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mgn.model.MgnResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the network migration definition.
- Parameters:
arn- The Amazon Resource Name (ARN) of the network migration definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkMigrationDefinitionID
GetNetworkMigrationDefinitionResponse.Builder networkMigrationDefinitionID(String networkMigrationDefinitionID) The unique identifier of the network migration definition.
- Parameters:
networkMigrationDefinitionID- The unique identifier of the network migration definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the network migration definition.
- Parameters:
name- The name of the network migration definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the network migration definition.
- Parameters:
description- A description of the network migration definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfigurations
GetNetworkMigrationDefinitionResponse.Builder sourceConfigurations(Collection<SourceConfiguration> sourceConfigurations) A list of source configurations for the network migration.
- Parameters:
sourceConfigurations- A list of source configurations for the network migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfigurations
GetNetworkMigrationDefinitionResponse.Builder sourceConfigurations(SourceConfiguration... sourceConfigurations) A list of source configurations for the network migration.
- Parameters:
sourceConfigurations- A list of source configurations for the network migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfigurations
GetNetworkMigrationDefinitionResponse.Builder sourceConfigurations(Consumer<SourceConfiguration.Builder>... sourceConfigurations) A list of source configurations for the network migration.
This is a convenience method that creates an instance of theSourceConfiguration.Builderavoiding the need to create one manually viaSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConfigurations(List<SourceConfiguration>).- Parameters:
sourceConfigurations- a consumer that will call methods onSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetS3Configuration
GetNetworkMigrationDefinitionResponse.Builder targetS3Configuration(TargetS3Configuration targetS3Configuration) The S3 configuration for storing the target network artifacts.
- Parameters:
targetS3Configuration- The S3 configuration for storing the target network artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetS3Configuration
default GetNetworkMigrationDefinitionResponse.Builder targetS3Configuration(Consumer<TargetS3Configuration.Builder> targetS3Configuration) The S3 configuration for storing the target network artifacts.
This is a convenience method that creates an instance of theTargetS3Configuration.Builderavoiding the need to create one manually viaTargetS3Configuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetS3Configuration(TargetS3Configuration).- Parameters:
targetS3Configuration- a consumer that will call methods onTargetS3Configuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetNetwork
The target network configuration including topology and CIDR ranges.
- Parameters:
targetNetwork- The target network configuration including topology and CIDR ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetNetwork
default GetNetworkMigrationDefinitionResponse.Builder targetNetwork(Consumer<TargetNetwork.Builder> targetNetwork) The target network configuration including topology and CIDR ranges.
This is a convenience method that creates an instance of theTargetNetwork.Builderavoiding the need to create one manually viaTargetNetwork.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetNetwork(TargetNetwork).- Parameters:
targetNetwork- a consumer that will call methods onTargetNetwork.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetDeployment
The target deployment configuration for the migrated network.
- Parameters:
targetDeployment- The target deployment configuration for the migrated network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetDeployment
The target deployment configuration for the migrated network.
- Parameters:
targetDeployment- The target deployment configuration for the migrated network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the network migration definition was created.
- Parameters:
createdAt- The timestamp when the network migration definition was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the network migration definition was last updated.
- Parameters:
updatedAt- The timestamp when the network migration definition was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags assigned to the network migration definition.
- Parameters:
tags- Tags assigned to the network migration definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeTags
Scope tags for the network migration definition.
- Parameters:
scopeTags- Scope tags for the network migration definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-