@Generated(value="software.amazon.awssdk:codegen") public final 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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()
toBuilder in interface ToCopyableBuilder<SwapEnvironmentCnamEsRequest.Builder,SwapEnvironmentCnamEsRequest>toBuilder in class ElasticBeanstalkRequestpublic static SwapEnvironmentCnamEsRequest.Builder builder()
public static Class<? extends SwapEnvironmentCnamEsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.