public class SwapEnvironmentCNAMEsRequest extends AmazonWebServiceRequest implements Serializable
SwapEnvironmentCNAMEs operation
.
Swaps the CNAMEs of two environments.
NOOP
Constructor and Description |
---|
SwapEnvironmentCNAMEsRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getSourceEnvironmentId()
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 void setSourceEnvironmentId(String sourceEnvironmentId)
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 SwapEnvironmentCNAMEsRequest withSourceEnvironmentId(String sourceEnvironmentId)
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
.
Returns a reference to this object so that method calls can be chained together.
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 getSourceEnvironmentName()
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
.
Constraints:
Length: 4 - 23
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 setSourceEnvironmentName(String sourceEnvironmentName)
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
.
Constraints:
Length: 4 - 23
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 SwapEnvironmentCNAMEsRequest withSourceEnvironmentName(String sourceEnvironmentName)
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
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 4 - 23
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 getDestinationEnvironmentId()
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 void setDestinationEnvironmentId(String 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
.
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 SwapEnvironmentCNAMEsRequest withDestinationEnvironmentId(String 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
.
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 DestinationEnvironmentID
or the
DestinationEnvironmentName
. You may also specify both.
You must specify the SourceEnvironmentId
with the
DestinationEnvironmentId
.
public String getDestinationEnvironmentName()
Condition: You must
specify at least the DestinationEnvironmentID
or the
DestinationEnvironmentName
. You may also specify both.
You must specify the SourceEnvironmentName
with the
DestinationEnvironmentName
.
Constraints:
Length: 4 - 23
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 setDestinationEnvironmentName(String 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
.
Constraints:
Length: 4 - 23
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 SwapEnvironmentCNAMEsRequest withDestinationEnvironmentName(String 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
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 4 - 23
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()
Copyright © 2015. All rights reserved.