Class Destination
- java.lang.Object
-
- software.amazon.spapi.models.notifications.v1.Destination
-
public class Destination extends java.lang.Object
Information about the destination created when you call the `createDestination` operation.
-
-
Constructor Summary
Constructors Constructor Description Destination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Destination
destinationId(java.lang.String destinationId)
boolean
equals(java.lang.Object o)
java.lang.String
getDestinationId()
The destination identifier generated when you created the destination.java.lang.String
getName()
The developer-defined name for this destination.DestinationResource
getResource()
Get resourceint
hashCode()
Destination
name(java.lang.String name)
Destination
resource(DestinationResource resource)
void
setDestinationId(java.lang.String destinationId)
void
setName(java.lang.String name)
void
setResource(DestinationResource resource)
java.lang.String
toString()
-
-
-
Method Detail
-
name
public Destination name(java.lang.String name)
-
getName
public java.lang.String getName()
The developer-defined name for this destination.- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
destinationId
public Destination destinationId(java.lang.String destinationId)
-
getDestinationId
public java.lang.String getDestinationId()
The destination identifier generated when you created the destination.- Returns:
- destinationId
-
setDestinationId
public void setDestinationId(java.lang.String destinationId)
-
resource
public Destination resource(DestinationResource resource)
-
getResource
public DestinationResource getResource()
Get resource- Returns:
- resource
-
setResource
public void setResource(DestinationResource resource)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-