@Generated(value="software.amazon.awssdk:codegen") public class SubscriptionFilter extends Object implements StructuredPojo, ToCopyableBuilder<SubscriptionFilter.Builder,SubscriptionFilter>
Represents a subscription filter.
Modifier and Type | Class and Description |
---|---|
static interface |
SubscriptionFilter.Builder |
Modifier and Type | Method and Description |
---|---|
static SubscriptionFilter.Builder |
builder() |
Long |
creationTime()
The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00
UTC.
|
String |
destinationArn()
The Amazon Resource Name (ARN) of the destination.
|
Distribution |
distribution()
Returns the value of the Distribution property for this object.
|
String |
distributionAsString()
Returns the value of the Distribution property for this object.
|
boolean |
equals(Object obj) |
String |
filterName()
The name of the subscription filter.
|
String |
filterPattern()
Returns the value of the FilterPattern property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
logGroupName()
The name of the log group.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
roleArn()
|
static Class<? extends SubscriptionFilter.Builder> |
serializableBuilderClass() |
SubscriptionFilter.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 filterName()
The name of the subscription filter.
public String logGroupName()
The name of the log group.
public String filterPattern()
public String destinationArn()
The Amazon Resource Name (ARN) of the destination.
public String roleArn()
public Distribution distribution()
If the service returns an enum value that is not available in the current SDK version, distribution
will
return Distribution.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
distributionAsString()
.
Distribution
public String distributionAsString()
If the service returns an enum value that is not available in the current SDK version, distribution
will
return Distribution.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
distributionAsString()
.
Distribution
public Long creationTime()
The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public SubscriptionFilter.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SubscriptionFilter.Builder,SubscriptionFilter>
public static SubscriptionFilter.Builder builder()
public static Class<? extends SubscriptionFilter.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.