Class CodeDeliveryDetailsType

java.lang.Object
com.amazonaws.services.cognitoidp.model.CodeDeliveryDetailsType
All Implemented Interfaces:
Serializable, Cloneable

public class CodeDeliveryDetailsType extends Object implements Serializable, Cloneable

The type of code delivery details being returned from the server.

See Also:
  • Constructor Details

    • CodeDeliveryDetailsType

      public CodeDeliveryDetailsType()
  • Method Details

    • setDestination

      public void setDestination(String destination)

      The destination for the code delivery details.

      Parameters:
      destination - The destination for the code delivery details.
    • getDestination

      public String getDestination()

      The destination for the code delivery details.

      Returns:
      The destination for the code delivery details.
    • withDestination

      public CodeDeliveryDetailsType withDestination(String destination)

      The destination for the code delivery details.

      Parameters:
      destination - The destination for the code delivery details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDeliveryMedium

      public void setDeliveryMedium(String deliveryMedium)

      The delivery medium (email message or phone number).

      Parameters:
      deliveryMedium - The delivery medium (email message or phone number).
      See Also:
    • getDeliveryMedium

      public String getDeliveryMedium()

      The delivery medium (email message or phone number).

      Returns:
      The delivery medium (email message or phone number).
      See Also:
    • withDeliveryMedium

      public CodeDeliveryDetailsType withDeliveryMedium(String deliveryMedium)

      The delivery medium (email message or phone number).

      Parameters:
      deliveryMedium - The delivery medium (email message or phone number).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setDeliveryMedium

      public void setDeliveryMedium(DeliveryMediumType deliveryMedium)

      The delivery medium (email message or phone number).

      Parameters:
      deliveryMedium - The delivery medium (email message or phone number).
      See Also:
    • withDeliveryMedium

      public CodeDeliveryDetailsType withDeliveryMedium(DeliveryMediumType deliveryMedium)

      The delivery medium (email message or phone number).

      Parameters:
      deliveryMedium - The delivery medium (email message or phone number).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setAttributeName

      public void setAttributeName(String attributeName)

      The name of the attribute in the code delivery details type.

      Parameters:
      attributeName - The name of the attribute in the code delivery details type.
    • getAttributeName

      public String getAttributeName()

      The name of the attribute in the code delivery details type.

      Returns:
      The name of the attribute in the code delivery details type.
    • withAttributeName

      public CodeDeliveryDetailsType withAttributeName(String attributeName)

      The name of the attribute in the code delivery details type.

      Parameters:
      attributeName - The name of the attribute in the code delivery details type.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CodeDeliveryDetailsType clone()
      Overrides:
      clone in class Object