@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubscriptionFilter extends Object implements Serializable, Cloneable, StructuredPojo
Represents a subscription filter.
Constructor and Description |
---|
SubscriptionFilter() |
Modifier and Type | Method and Description |
---|---|
SubscriptionFilter |
clone() |
boolean |
equals(Object obj) |
Long |
getCreationTime()
The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00
UTC.
|
String |
getDestinationArn()
The Amazon Resource Name (ARN) of the destination.
|
String |
getDistribution() |
String |
getFilterName()
The name of the subscription filter.
|
String |
getFilterPattern() |
String |
getLogGroupName()
The name of the log group.
|
String |
getRoleArn()
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Long creationTime)
The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00
UTC.
|
void |
setDestinationArn(String destinationArn)
The Amazon Resource Name (ARN) of the destination.
|
void |
setDistribution(Distribution distribution) |
void |
setDistribution(String distribution) |
void |
setFilterName(String filterName)
The name of the subscription filter.
|
void |
setFilterPattern(String filterPattern) |
void |
setLogGroupName(String logGroupName)
The name of the log group.
|
void |
setRoleArn(String roleArn)
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SubscriptionFilter |
withCreationTime(Long creationTime)
The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00
UTC.
|
SubscriptionFilter |
withDestinationArn(String destinationArn)
The Amazon Resource Name (ARN) of the destination.
|
SubscriptionFilter |
withDistribution(Distribution distribution) |
SubscriptionFilter |
withDistribution(String distribution) |
SubscriptionFilter |
withFilterName(String filterName)
The name of the subscription filter.
|
SubscriptionFilter |
withFilterPattern(String filterPattern) |
SubscriptionFilter |
withLogGroupName(String logGroupName)
The name of the log group.
|
SubscriptionFilter |
withRoleArn(String roleArn)
|
public void setFilterName(String filterName)
The name of the subscription filter.
filterName
- The name of the subscription filter.public String getFilterName()
The name of the subscription filter.
public SubscriptionFilter withFilterName(String filterName)
The name of the subscription filter.
filterName
- The name of the subscription filter.public void setLogGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.public String getLogGroupName()
The name of the log group.
public SubscriptionFilter withLogGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.public void setFilterPattern(String filterPattern)
filterPattern
- public String getFilterPattern()
public SubscriptionFilter withFilterPattern(String filterPattern)
filterPattern
- public void setDestinationArn(String destinationArn)
The Amazon Resource Name (ARN) of the destination.
destinationArn
- The Amazon Resource Name (ARN) of the destination.public String getDestinationArn()
The Amazon Resource Name (ARN) of the destination.
public SubscriptionFilter withDestinationArn(String destinationArn)
The Amazon Resource Name (ARN) of the destination.
destinationArn
- The Amazon Resource Name (ARN) of the destination.public void setRoleArn(String roleArn)
roleArn
- public String getRoleArn()
public SubscriptionFilter withRoleArn(String roleArn)
roleArn
- public void setDistribution(String distribution)
distribution
- Distribution
public String getDistribution()
Distribution
public SubscriptionFilter withDistribution(String distribution)
distribution
- Distribution
public void setDistribution(Distribution distribution)
distribution
- Distribution
public SubscriptionFilter withDistribution(Distribution distribution)
distribution
- Distribution
public void setCreationTime(Long creationTime)
The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
creationTime
- The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970
00:00:00 UTC.public Long getCreationTime()
The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public SubscriptionFilter withCreationTime(Long creationTime)
The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
creationTime
- The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970
00:00:00 UTC.public String toString()
toString
in class Object
Object.toString()
public SubscriptionFilter 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.