public class SwapEnvironmentCNAMEsRequest extends AmazonWebServiceRequest implements java.io.Serializable
SwapEnvironmentCNAMEs operation.
Swaps the CNAMEs of two environments.
| コンストラクタと説明 |
|---|
SwapEnvironmentCNAMEsRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object