public class SwapEnvironmentCNAMEsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Swaps the CNAMEs of two environments.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
destinationEnvironmentId
The ID of the destination environment.
|
private java.lang.String |
destinationEnvironmentName
The name of the destination environment.
|
private java.lang.String |
sourceEnvironmentId
The ID of the source environment.
|
private java.lang.String |
sourceEnvironmentName
The name of the source environment.
|
NOOP
Constructor and Description |
---|
SwapEnvironmentCNAMEsRequest() |
Modifier and Type | Method and Description |
---|---|
SwapEnvironmentCNAMEsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDestinationEnvironmentId()
The ID of the destination environment.
|
java.lang.String |
getDestinationEnvironmentName()
The name of the destination environment.
|
java.lang.String |
getSourceEnvironmentId()
The ID of the source environment.
|
java.lang.String |
getSourceEnvironmentName()
The name of the source environment.
|
int |
hashCode() |
void |
setDestinationEnvironmentId(java.lang.String destinationEnvironmentId)
The ID of the destination environment.
|
void |
setDestinationEnvironmentName(java.lang.String destinationEnvironmentName)
The name of the destination environment.
|
void |
setSourceEnvironmentId(java.lang.String sourceEnvironmentId)
The ID of the source environment.
|
void |
setSourceEnvironmentName(java.lang.String sourceEnvironmentName)
The name of the source environment.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SwapEnvironmentCNAMEsRequest |
withDestinationEnvironmentId(java.lang.String destinationEnvironmentId)
The ID of the destination environment.
|
SwapEnvironmentCNAMEsRequest |
withDestinationEnvironmentName(java.lang.String destinationEnvironmentName)
The name of the destination environment.
|
SwapEnvironmentCNAMEsRequest |
withSourceEnvironmentId(java.lang.String sourceEnvironmentId)
The ID of the source environment.
|
SwapEnvironmentCNAMEsRequest |
withSourceEnvironmentName(java.lang.String sourceEnvironmentName)
The name of the source environment.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.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
.
private java.lang.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
.
private java.lang.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
.
private java.lang.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
.
public void setSourceEnvironmentId(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SwapEnvironmentCNAMEsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()