@Generated(value="software.amazon.awssdk:codegen") public class SwapEnvironmentCNAMEsRequest extends ElasticBeanstalkRequest implements ToCopyableBuilder<SwapEnvironmentCNAMEsRequest.Builder,SwapEnvironmentCNAMEsRequest>
Swaps the CNAMEs of two environments.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SwapEnvironmentCNAMEsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SwapEnvironmentCNAMEsRequest.Builder |
builder() |
String |
destinationEnvironmentId()
The ID of the destination environment.
|
String |
destinationEnvironmentName()
The name of the destination environment.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest. |
int |
hashCode() |
static Class<? extends SwapEnvironmentCNAMEsRequest.Builder> |
serializableBuilderClass() |
String |
sourceEnvironmentId()
The ID of the source environment.
|
String |
sourceEnvironmentName()
The name of the source environment.
|
SwapEnvironmentCNAMEsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfigcopypublic String sourceEnvironmentId()
The ID of the source environment.
Condition: You must specify at least the SourceEnvironmentID or the
SourceEnvironmentName. You may also specify both. If you specify the
SourceEnvironmentId, you must specify the DestinationEnvironmentId.
Condition: You must specify at least the SourceEnvironmentID or the
SourceEnvironmentName. You may also specify both. If you specify the
SourceEnvironmentId, you must specify the DestinationEnvironmentId.
public String sourceEnvironmentName()
The name of the source environment.
Condition: You must specify at least the SourceEnvironmentID or the
SourceEnvironmentName. You may also specify both. If you specify the
SourceEnvironmentName, you must specify the DestinationEnvironmentName.
Condition: You must specify at least the SourceEnvironmentID or the
SourceEnvironmentName. You may also specify both. If you specify the
SourceEnvironmentName, you must specify the DestinationEnvironmentName.
public String destinationEnvironmentId()
The ID of the destination environment.
Condition: You must specify at least the DestinationEnvironmentID or the
DestinationEnvironmentName. You may also specify both. You must specify the
SourceEnvironmentId with the DestinationEnvironmentId.
Condition: You must specify at least the DestinationEnvironmentID or the
DestinationEnvironmentName. You may also specify both. You must specify the
SourceEnvironmentId with the DestinationEnvironmentId.
public String destinationEnvironmentName()
The name of the destination environment.
Condition: You must specify at least the DestinationEnvironmentID or the
DestinationEnvironmentName. You may also specify both. You must specify the
SourceEnvironmentName with the DestinationEnvironmentName.
Condition: You must specify at least the DestinationEnvironmentID or the
DestinationEnvironmentName. You may also specify both. You must specify the
SourceEnvironmentName with the DestinationEnvironmentName.
public SwapEnvironmentCNAMEsRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<SwapEnvironmentCNAMEsRequest.Builder,SwapEnvironmentCNAMEsRequest>toBuilder in class ElasticBeanstalkRequestpublic static SwapEnvironmentCNAMEsRequest.Builder builder()
public static Class<? extends SwapEnvironmentCNAMEsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.