Interface SwapEnvironmentCnamEsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SwapEnvironmentCnamEsRequest.Builder,,SwapEnvironmentCnamEsRequest> ElasticBeanstalkRequest.Builder,SdkBuilder<SwapEnvironmentCnamEsRequest.Builder,,SwapEnvironmentCnamEsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SwapEnvironmentCnamEsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondestinationEnvironmentId(String destinationEnvironmentId) The ID of the destination environment.destinationEnvironmentName(String destinationEnvironmentName) The name of the destination environment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceEnvironmentId(String sourceEnvironmentId) The ID of the source environment.sourceEnvironmentName(String sourceEnvironmentName) The name of the source environment.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sourceEnvironmentId
The ID of the source environment.
Condition: You must specify at least the
SourceEnvironmentIDor theSourceEnvironmentName. You may also specify both. If you specify theSourceEnvironmentId, you must specify theDestinationEnvironmentId.- Parameters:
sourceEnvironmentId- The ID of the source environment.Condition: You must specify at least the
SourceEnvironmentIDor theSourceEnvironmentName. You may also specify both. If you specify theSourceEnvironmentId, you must specify theDestinationEnvironmentId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEnvironmentName
The name of the source environment.
Condition: You must specify at least the
SourceEnvironmentIDor theSourceEnvironmentName. You may also specify both. If you specify theSourceEnvironmentName, you must specify theDestinationEnvironmentName.- Parameters:
sourceEnvironmentName- The name of the source environment.Condition: You must specify at least the
SourceEnvironmentIDor theSourceEnvironmentName. You may also specify both. If you specify theSourceEnvironmentName, you must specify theDestinationEnvironmentName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationEnvironmentId
The ID of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentIdwith theDestinationEnvironmentId.- Parameters:
destinationEnvironmentId- The ID of the destination environment.Condition: You must specify at least the
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentIdwith theDestinationEnvironmentId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationEnvironmentName
The name of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentNamewith theDestinationEnvironmentName.- Parameters:
destinationEnvironmentName- The name of the destination environment.Condition: You must specify at least the
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentNamewith theDestinationEnvironmentName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SwapEnvironmentCnamEsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SwapEnvironmentCnamEsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-