@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SwapEnvironmentCNAMEsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Swaps the CNAMEs of two environments.
NOOP
Constructor and Description |
---|
SwapEnvironmentCNAMEsRequest() |
Modifier and Type | Method and Description |
---|---|
SwapEnvironmentCNAMEsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDestinationEnvironmentId()
The ID of the destination environment.
|
String |
getDestinationEnvironmentName()
The name of the destination environment.
|
String |
getSourceEnvironmentId()
The ID of the source environment.
|
String |
getSourceEnvironmentName()
The name of the source environment.
|
int |
hashCode() |
void |
setDestinationEnvironmentId(String destinationEnvironmentId)
The ID of the destination environment.
|
void |
setDestinationEnvironmentName(String destinationEnvironmentName)
The name of the destination environment.
|
void |
setSourceEnvironmentId(String sourceEnvironmentId)
The ID of the source environment.
|
void |
setSourceEnvironmentName(String sourceEnvironmentName)
The name of the source environment.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SwapEnvironmentCNAMEsRequest |
withDestinationEnvironmentId(String destinationEnvironmentId)
The ID of the destination environment.
|
SwapEnvironmentCNAMEsRequest |
withDestinationEnvironmentName(String destinationEnvironmentName)
The name of the destination environment.
|
SwapEnvironmentCNAMEsRequest |
withSourceEnvironmentId(String sourceEnvironmentId)
The ID of the source environment.
|
SwapEnvironmentCNAMEsRequest |
withSourceEnvironmentName(String sourceEnvironmentName)
The name of the source environment.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSourceEnvironmentId(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
.
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
.
public String getSourceEnvironmentId()
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 SwapEnvironmentCNAMEsRequest withSourceEnvironmentId(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
.
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
.
public void setSourceEnvironmentName(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
.
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
.
public String getSourceEnvironmentName()
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 SwapEnvironmentCNAMEsRequest withSourceEnvironmentName(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
.
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
.
public void setDestinationEnvironmentId(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
.
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
.
public String getDestinationEnvironmentId()
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 SwapEnvironmentCNAMEsRequest withDestinationEnvironmentId(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
.
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
.
public void setDestinationEnvironmentName(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
.
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
.
public String getDestinationEnvironmentName()
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 withDestinationEnvironmentName(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
.
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
.
public String toString()
toString
in class Object
Object.toString()
public SwapEnvironmentCNAMEsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.