Class SwapEnvironmentCNAMEsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticbeanstalk.model.SwapEnvironmentCNAMEsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class SwapEnvironmentCNAMEsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Swaps the CNAMEs of two environments.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description SwapEnvironmentCNAMEsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SwapEnvironmentCNAMEsRequest
clone()
Creates a shallow clone of this request.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
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
-
-
-
-
Method Detail
-
setSourceEnvironmentId
public void setSourceEnvironmentId(String sourceEnvironmentId)
The ID of the source environment.
Condition: You must specify at least the
SourceEnvironmentID
or theSourceEnvironmentName
. You may also specify both. If you specify theSourceEnvironmentId
, you must specify theDestinationEnvironmentId
.- Parameters:
sourceEnvironmentId
- The ID of the source environment.Condition: You must specify at least the
SourceEnvironmentID
or theSourceEnvironmentName
. You may also specify both. If you specify theSourceEnvironmentId
, you must specify theDestinationEnvironmentId
.
-
getSourceEnvironmentId
public String getSourceEnvironmentId()
The ID of the source environment.
Condition: You must specify at least the
SourceEnvironmentID
or theSourceEnvironmentName
. You may also specify both. If you specify theSourceEnvironmentId
, you must specify theDestinationEnvironmentId
.- Returns:
- The ID of the source environment.
Condition: You must specify at least the
SourceEnvironmentID
or theSourceEnvironmentName
. You may also specify both. If you specify theSourceEnvironmentId
, you must specify theDestinationEnvironmentId
.
-
withSourceEnvironmentId
public SwapEnvironmentCNAMEsRequest withSourceEnvironmentId(String sourceEnvironmentId)
The ID of the source environment.
Condition: You must specify at least the
SourceEnvironmentID
or theSourceEnvironmentName
. You may also specify both. If you specify theSourceEnvironmentId
, you must specify theDestinationEnvironmentId
.- Parameters:
sourceEnvironmentId
- The ID of the source environment.Condition: You must specify at least the
SourceEnvironmentID
or theSourceEnvironmentName
. You may also specify both. If you specify theSourceEnvironmentId
, you must specify theDestinationEnvironmentId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSourceEnvironmentName
public void setSourceEnvironmentName(String sourceEnvironmentName)
The name of the source environment.
Condition: You must specify at least the
SourceEnvironmentID
or theSourceEnvironmentName
. You may also specify both. If you specify theSourceEnvironmentName
, you must specify theDestinationEnvironmentName
.- Parameters:
sourceEnvironmentName
- The name of the source environment.Condition: You must specify at least the
SourceEnvironmentID
or theSourceEnvironmentName
. You may also specify both. If you specify theSourceEnvironmentName
, you must specify theDestinationEnvironmentName
.
-
getSourceEnvironmentName
public String getSourceEnvironmentName()
The name of the source environment.
Condition: You must specify at least the
SourceEnvironmentID
or theSourceEnvironmentName
. You may also specify both. If you specify theSourceEnvironmentName
, you must specify theDestinationEnvironmentName
.- Returns:
- The name of the source environment.
Condition: You must specify at least the
SourceEnvironmentID
or theSourceEnvironmentName
. You may also specify both. If you specify theSourceEnvironmentName
, you must specify theDestinationEnvironmentName
.
-
withSourceEnvironmentName
public SwapEnvironmentCNAMEsRequest withSourceEnvironmentName(String sourceEnvironmentName)
The name of the source environment.
Condition: You must specify at least the
SourceEnvironmentID
or theSourceEnvironmentName
. You may also specify both. If you specify theSourceEnvironmentName
, you must specify theDestinationEnvironmentName
.- Parameters:
sourceEnvironmentName
- The name of the source environment.Condition: You must specify at least the
SourceEnvironmentID
or theSourceEnvironmentName
. You may also specify both. If you specify theSourceEnvironmentName
, you must specify theDestinationEnvironmentName
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDestinationEnvironmentId
public void setDestinationEnvironmentId(String destinationEnvironmentId)
The ID of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentID
or theDestinationEnvironmentName
. You may also specify both. You must specify theSourceEnvironmentId
with theDestinationEnvironmentId
.- Parameters:
destinationEnvironmentId
- The ID of the destination environment.Condition: You must specify at least the
DestinationEnvironmentID
or theDestinationEnvironmentName
. You may also specify both. You must specify theSourceEnvironmentId
with theDestinationEnvironmentId
.
-
getDestinationEnvironmentId
public String getDestinationEnvironmentId()
The ID of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentID
or theDestinationEnvironmentName
. You may also specify both. You must specify theSourceEnvironmentId
with theDestinationEnvironmentId
.- Returns:
- The ID of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentID
or theDestinationEnvironmentName
. You may also specify both. You must specify theSourceEnvironmentId
with theDestinationEnvironmentId
.
-
withDestinationEnvironmentId
public SwapEnvironmentCNAMEsRequest withDestinationEnvironmentId(String destinationEnvironmentId)
The ID of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentID
or theDestinationEnvironmentName
. You may also specify both. You must specify theSourceEnvironmentId
with theDestinationEnvironmentId
.- Parameters:
destinationEnvironmentId
- The ID of the destination environment.Condition: You must specify at least the
DestinationEnvironmentID
or theDestinationEnvironmentName
. You may also specify both. You must specify theSourceEnvironmentId
with theDestinationEnvironmentId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDestinationEnvironmentName
public void setDestinationEnvironmentName(String destinationEnvironmentName)
The name of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentID
or theDestinationEnvironmentName
. You may also specify both. You must specify theSourceEnvironmentName
with theDestinationEnvironmentName
.- Parameters:
destinationEnvironmentName
- The name of the destination environment.Condition: You must specify at least the
DestinationEnvironmentID
or theDestinationEnvironmentName
. You may also specify both. You must specify theSourceEnvironmentName
with theDestinationEnvironmentName
.
-
getDestinationEnvironmentName
public String getDestinationEnvironmentName()
The name of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentID
or theDestinationEnvironmentName
. You may also specify both. You must specify theSourceEnvironmentName
with theDestinationEnvironmentName
.- Returns:
- The name of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentID
or theDestinationEnvironmentName
. You may also specify both. You must specify theSourceEnvironmentName
with theDestinationEnvironmentName
.
-
withDestinationEnvironmentName
public SwapEnvironmentCNAMEsRequest withDestinationEnvironmentName(String destinationEnvironmentName)
The name of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentID
or theDestinationEnvironmentName
. You may also specify both. You must specify theSourceEnvironmentName
with theDestinationEnvironmentName
.- Parameters:
destinationEnvironmentName
- The name of the destination environment.Condition: You must specify at least the
DestinationEnvironmentID
or theDestinationEnvironmentName
. You may also specify both. You must specify theSourceEnvironmentName
with theDestinationEnvironmentName
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SwapEnvironmentCNAMEsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-