Class CreateDestinationResponse
- java.lang.Object
-
- software.amazon.spapi.models.notifications.v1.CreateDestinationResponse
-
public class CreateDestinationResponse extends java.lang.Object
The response schema for the createDestination operation.
-
-
Constructor Summary
Constructors Constructor Description CreateDestinationResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
CreateDestinationResponse
errors(ErrorList errors)
ErrorList
getErrors()
Get errorsDestination
getPayload()
Get payloadint
hashCode()
CreateDestinationResponse
payload(Destination payload)
void
setErrors(ErrorList errors)
void
setPayload(Destination payload)
java.lang.String
toString()
-
-
-
Method Detail
-
payload
public CreateDestinationResponse payload(Destination payload)
-
getPayload
public Destination getPayload()
Get payload- Returns:
- payload
-
setPayload
public void setPayload(Destination payload)
-
errors
public CreateDestinationResponse errors(ErrorList errors)
-
getErrors
public ErrorList getErrors()
Get errors- Returns:
- errors
-
setErrors
public void setErrors(ErrorList errors)
-
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
-
-