|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticbeanstalk.model.SwapEnvironmentCNAMEsRequest
public class SwapEnvironmentCNAMEsRequest
Container for the parameters to the SwapEnvironmentCNAMEs operation
.
Swaps the CNAMEs of two environments.
AWSElasticBeanstalk.swapEnvironmentCNAMEs(SwapEnvironmentCNAMEsRequest)
Constructor Summary | |
---|---|
SwapEnvironmentCNAMEsRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SwapEnvironmentCNAMEsRequest()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |