@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Subscription extends Object implements Serializable, Cloneable, StructuredPojo
Describes a subscription.
Constructor and Description |
---|
Subscription() |
Modifier and Type | Method and Description |
---|---|
Subscription |
clone() |
boolean |
equals(Object obj) |
String |
getEndPoint()
The endpoint of the subscription.
|
String |
getProtocol()
The protocol of the subscription.
|
String |
getSubscriptionId()
The ID of the subscription.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndPoint(String endPoint)
The endpoint of the subscription.
|
void |
setProtocol(String protocol)
The protocol of the subscription.
|
void |
setProtocol(SubscriptionProtocolType protocol)
The protocol of the subscription.
|
void |
setSubscriptionId(String subscriptionId)
The ID of the subscription.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Subscription |
withEndPoint(String endPoint)
The endpoint of the subscription.
|
Subscription |
withProtocol(String protocol)
The protocol of the subscription.
|
Subscription |
withProtocol(SubscriptionProtocolType protocol)
The protocol of the subscription.
|
Subscription |
withSubscriptionId(String subscriptionId)
The ID of the subscription.
|
public void setSubscriptionId(String subscriptionId)
The ID of the subscription.
subscriptionId
- The ID of the subscription.public String getSubscriptionId()
The ID of the subscription.
public Subscription withSubscriptionId(String subscriptionId)
The ID of the subscription.
subscriptionId
- The ID of the subscription.public void setEndPoint(String endPoint)
The endpoint of the subscription.
endPoint
- The endpoint of the subscription.public String getEndPoint()
The endpoint of the subscription.
public Subscription withEndPoint(String endPoint)
The endpoint of the subscription.
endPoint
- The endpoint of the subscription.public void setProtocol(String protocol)
The protocol of the subscription.
protocol
- The protocol of the subscription.SubscriptionProtocolType
public String getProtocol()
The protocol of the subscription.
SubscriptionProtocolType
public Subscription withProtocol(String protocol)
The protocol of the subscription.
protocol
- The protocol of the subscription.SubscriptionProtocolType
public void setProtocol(SubscriptionProtocolType protocol)
The protocol of the subscription.
protocol
- The protocol of the subscription.SubscriptionProtocolType
public Subscription withProtocol(SubscriptionProtocolType protocol)
The protocol of the subscription.
protocol
- The protocol of the subscription.SubscriptionProtocolType
public String toString()
toString
in class Object
Object.toString()
public Subscription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.