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 SwapEnvironmentCNAMEsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDestinationEnvironmentId()The ID of the destination environment.StringgetDestinationEnvironmentName()The name of the destination environment.StringgetSourceEnvironmentId()The ID of the source environment.StringgetSourceEnvironmentName()The name of the source environment.inthashCode()voidsetDestinationEnvironmentId(String destinationEnvironmentId)The ID of the destination environment.voidsetDestinationEnvironmentName(String destinationEnvironmentName)The name of the destination environment.voidsetSourceEnvironmentId(String sourceEnvironmentId)The ID of the source environment.voidsetSourceEnvironmentName(String sourceEnvironmentName)The name of the source environment.StringtoString()Returns a string representation of this object; useful for testing and debugging.SwapEnvironmentCNAMEsRequestwithDestinationEnvironmentId(String destinationEnvironmentId)The ID of the destination environment.SwapEnvironmentCNAMEsRequestwithDestinationEnvironmentName(String destinationEnvironmentName)The name of the destination environment.SwapEnvironmentCNAMEsRequestwithSourceEnvironmentId(String sourceEnvironmentId)The ID of the source environment.SwapEnvironmentCNAMEsRequestwithSourceEnvironmentName(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
SourceEnvironmentIDor 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
SourceEnvironmentIDor 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
SourceEnvironmentIDor 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
SourceEnvironmentIDor 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
SourceEnvironmentIDor 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
SourceEnvironmentIDor 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
SourceEnvironmentIDor 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
SourceEnvironmentIDor 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
SourceEnvironmentIDor 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
SourceEnvironmentIDor 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
SourceEnvironmentIDor 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
SourceEnvironmentIDor 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
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentIdwith theDestinationEnvironmentId.- Parameters:
destinationEnvironmentId- The ID of the destination environment.Condition: You must specify at least the
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentIdwith theDestinationEnvironmentId.
-
getDestinationEnvironmentId
public String getDestinationEnvironmentId()
The ID of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentIdwith theDestinationEnvironmentId.- Returns:
- The ID of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentIdwith theDestinationEnvironmentId.
-
withDestinationEnvironmentId
public SwapEnvironmentCNAMEsRequest withDestinationEnvironmentId(String destinationEnvironmentId)
The ID of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentIdwith theDestinationEnvironmentId.- Parameters:
destinationEnvironmentId- The ID of the destination environment.Condition: You must specify at least the
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentIdwith 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
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentNamewith theDestinationEnvironmentName.- Parameters:
destinationEnvironmentName- The name of the destination environment.Condition: You must specify at least the
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentNamewith theDestinationEnvironmentName.
-
getDestinationEnvironmentName
public String getDestinationEnvironmentName()
The name of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentNamewith theDestinationEnvironmentName.- Returns:
- The name of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentNamewith theDestinationEnvironmentName.
-
withDestinationEnvironmentName
public SwapEnvironmentCNAMEsRequest withDestinationEnvironmentName(String destinationEnvironmentName)
The name of the destination environment.
Condition: You must specify at least the
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentNamewith theDestinationEnvironmentName.- Parameters:
destinationEnvironmentName- The name of the destination environment.Condition: You must specify at least the
DestinationEnvironmentIDor theDestinationEnvironmentName. You may also specify both. You must specify theSourceEnvironmentNamewith 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SwapEnvironmentCNAMEsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-