StructuredPojo
, ToCopyableBuilder<Subscription.Builder,Subscription>
@Generated("software.amazon.awssdk:codegen") public class Subscription extends Object implements StructuredPojo, ToCopyableBuilder<Subscription.Builder,Subscription>
Describes a subscription.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Subscription.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Subscription.Builder |
builder() |
|
String |
endPoint() |
The endpoint of the subscription.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
protocol() |
The protocol of the subscription.
|
static Class<? extends Subscription.Builder> |
serializableBuilderClass() |
|
String |
subscriptionId() |
The ID of the subscription.
|
Subscription.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String subscriptionId()
The ID of the subscription.
public String endPoint()
The endpoint of the subscription.
public String protocol()
The protocol of the subscription.
SubscriptionProtocolType
public Subscription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Subscription.Builder,Subscription>
public static Subscription.Builder builder()
public static Class<? extends Subscription.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.