@Generated(value="software.amazon.awssdk:codegen") public final class Subscription extends Object implements StructuredPojo, ToCopyableBuilder<Subscription.Builder,Subscription>
Modifier and Type | Class and Description |
---|---|
static interface |
Subscription.Builder |
Modifier and Type | Method and Description |
---|---|
static Subscription.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
Element Id for this entry in the list.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Subscription.Builder> |
serializableBuilderClass() |
String |
source()
Source of the subscription.
|
String |
subject()
Subject of the message.
|
String |
target()
Where the message is sent to.
|
Subscription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String id()
public String source()
public String subject()
public String target()
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.