Class SwapEnvironmentCNAMEsRequest

    • Constructor Detail

      • SwapEnvironmentCNAMEsRequest

        public SwapEnvironmentCNAMEsRequest()
    • Method Detail

      • setSourceEnvironmentId

        public void setSourceEnvironmentId​(String 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.

        Parameters:
        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.

      • getSourceEnvironmentId

        public String getSourceEnvironmentId()

        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.

        Returns:
        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.

      • withSourceEnvironmentId

        public SwapEnvironmentCNAMEsRequest withSourceEnvironmentId​(String 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.

        Parameters:
        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.

        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 the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentName, you must specify the DestinationEnvironmentName.

        Parameters:
        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.

      • getSourceEnvironmentName

        public String getSourceEnvironmentName()

        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.

        Returns:
        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.

      • withSourceEnvironmentName

        public SwapEnvironmentCNAMEsRequest withSourceEnvironmentName​(String 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.

        Parameters:
        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.

        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 the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentId with the DestinationEnvironmentId.

        Parameters:
        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.

      • getDestinationEnvironmentId

        public String getDestinationEnvironmentId()

        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.

        Returns:
        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.

      • withDestinationEnvironmentId

        public SwapEnvironmentCNAMEsRequest withDestinationEnvironmentId​(String 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.

        Parameters:
        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.

        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 the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentName with the DestinationEnvironmentName.

        Parameters:
        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.

      • getDestinationEnvironmentName

        public String getDestinationEnvironmentName()

        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.

        Returns:
        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.

      • withDestinationEnvironmentName

        public SwapEnvironmentCNAMEsRequest withDestinationEnvironmentName​(String 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.

        Parameters:
        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.

        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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object