@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutSubscriptionFilterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutSubscriptionFilterRequest() |
Modifier and Type | Method and Description |
---|---|
PutSubscriptionFilterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDestinationArn()
The ARN of the destination to deliver matching log events to.
|
String |
getDistribution()
The method used to distribute log data to the destination.
|
String |
getFilterName()
A name for the subscription filter.
|
String |
getFilterPattern()
A filter pattern for subscribing to a filtered stream of log events.
|
String |
getLogGroupName()
The name of the log group.
|
String |
getRoleArn()
The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination
stream.
|
int |
hashCode() |
void |
setDestinationArn(String destinationArn)
The ARN of the destination to deliver matching log events to.
|
void |
setDistribution(Distribution distribution)
The method used to distribute log data to the destination.
|
void |
setDistribution(String distribution)
The method used to distribute log data to the destination.
|
void |
setFilterName(String filterName)
A name for the subscription filter.
|
void |
setFilterPattern(String filterPattern)
A filter pattern for subscribing to a filtered stream of log events.
|
void |
setLogGroupName(String logGroupName)
The name of the log group.
|
void |
setRoleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination
stream.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutSubscriptionFilterRequest |
withDestinationArn(String destinationArn)
The ARN of the destination to deliver matching log events to.
|
PutSubscriptionFilterRequest |
withDistribution(Distribution distribution)
The method used to distribute log data to the destination.
|
PutSubscriptionFilterRequest |
withDistribution(String distribution)
The method used to distribute log data to the destination.
|
PutSubscriptionFilterRequest |
withFilterName(String filterName)
A name for the subscription filter.
|
PutSubscriptionFilterRequest |
withFilterPattern(String filterPattern)
A filter pattern for subscribing to a filtered stream of log events.
|
PutSubscriptionFilterRequest |
withLogGroupName(String logGroupName)
The name of the log group.
|
PutSubscriptionFilterRequest |
withRoleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination
stream.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 PutSubscriptionFilterRequest withLogGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.public void setFilterName(String filterName)
A name for the subscription filter. If you are updating an existing filter, you must specify the correct name in
filterName
. Otherwise, the call fails because you cannot associate a second filter with a log group.
To find the name of the filter currently associated with a log group, use DescribeSubscriptionFilters.
filterName
- A name for the subscription filter. If you are updating an existing filter, you must specify the correct
name in filterName
. Otherwise, the call fails because you cannot associate a second filter
with a log group. To find the name of the filter currently associated with a log group, use
DescribeSubscriptionFilters.public String getFilterName()
A name for the subscription filter. If you are updating an existing filter, you must specify the correct name in
filterName
. Otherwise, the call fails because you cannot associate a second filter with a log group.
To find the name of the filter currently associated with a log group, use DescribeSubscriptionFilters.
filterName
. Otherwise, the call fails because you cannot associate a second filter
with a log group. To find the name of the filter currently associated with a log group, use
DescribeSubscriptionFilters.public PutSubscriptionFilterRequest withFilterName(String filterName)
A name for the subscription filter. If you are updating an existing filter, you must specify the correct name in
filterName
. Otherwise, the call fails because you cannot associate a second filter with a log group.
To find the name of the filter currently associated with a log group, use DescribeSubscriptionFilters.
filterName
- A name for the subscription filter. If you are updating an existing filter, you must specify the correct
name in filterName
. Otherwise, the call fails because you cannot associate a second filter
with a log group. To find the name of the filter currently associated with a log group, use
DescribeSubscriptionFilters.public void setFilterPattern(String filterPattern)
A filter pattern for subscribing to a filtered stream of log events.
filterPattern
- A filter pattern for subscribing to a filtered stream of log events.public String getFilterPattern()
A filter pattern for subscribing to a filtered stream of log events.
public PutSubscriptionFilterRequest withFilterPattern(String filterPattern)
A filter pattern for subscribing to a filtered stream of log events.
filterPattern
- A filter pattern for subscribing to a filtered stream of log events.public void setDestinationArn(String destinationArn)
The ARN of the destination to deliver matching log events to. Currently, the supported destinations are:
An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.
A logical destination (specified using an ARN) belonging to a different account, for cross-account delivery.
An Amazon Kinesis Firehose delivery stream belonging to the same account as the subscription filter, for same-account delivery.
An AWS Lambda function belonging to the same account as the subscription filter, for same-account delivery.
destinationArn
- The ARN of the destination to deliver matching log events to. Currently, the supported destinations
are:
An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.
A logical destination (specified using an ARN) belonging to a different account, for cross-account delivery.
An Amazon Kinesis Firehose delivery stream belonging to the same account as the subscription filter, for same-account delivery.
An AWS Lambda function belonging to the same account as the subscription filter, for same-account delivery.
public String getDestinationArn()
The ARN of the destination to deliver matching log events to. Currently, the supported destinations are:
An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.
A logical destination (specified using an ARN) belonging to a different account, for cross-account delivery.
An Amazon Kinesis Firehose delivery stream belonging to the same account as the subscription filter, for same-account delivery.
An AWS Lambda function belonging to the same account as the subscription filter, for same-account delivery.
An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.
A logical destination (specified using an ARN) belonging to a different account, for cross-account delivery.
An Amazon Kinesis Firehose delivery stream belonging to the same account as the subscription filter, for same-account delivery.
An AWS Lambda function belonging to the same account as the subscription filter, for same-account delivery.
public PutSubscriptionFilterRequest withDestinationArn(String destinationArn)
The ARN of the destination to deliver matching log events to. Currently, the supported destinations are:
An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.
A logical destination (specified using an ARN) belonging to a different account, for cross-account delivery.
An Amazon Kinesis Firehose delivery stream belonging to the same account as the subscription filter, for same-account delivery.
An AWS Lambda function belonging to the same account as the subscription filter, for same-account delivery.
destinationArn
- The ARN of the destination to deliver matching log events to. Currently, the supported destinations
are:
An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.
A logical destination (specified using an ARN) belonging to a different account, for cross-account delivery.
An Amazon Kinesis Firehose delivery stream belonging to the same account as the subscription filter, for same-account delivery.
An AWS Lambda function belonging to the same account as the subscription filter, for same-account delivery.
public void setRoleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
roleArn
- The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the
destination stream. You don't need to provide the ARN when you are working with a logical destination for
cross-account delivery.public String getRoleArn()
The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
public PutSubscriptionFilterRequest withRoleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
roleArn
- The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the
destination stream. You don't need to provide the ARN when you are working with a logical destination for
cross-account delivery.public void setDistribution(String distribution)
The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream.
distribution
- The method used to distribute log data to the destination. By default log data is grouped by log stream,
but the grouping can be set to random for a more even distribution. This property is only applicable when
the destination is an Amazon Kinesis stream.Distribution
public String getDistribution()
The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream.
Distribution
public PutSubscriptionFilterRequest withDistribution(String distribution)
The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream.
distribution
- The method used to distribute log data to the destination. By default log data is grouped by log stream,
but the grouping can be set to random for a more even distribution. This property is only applicable when
the destination is an Amazon Kinesis stream.Distribution
public void setDistribution(Distribution distribution)
The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream.
distribution
- The method used to distribute log data to the destination. By default log data is grouped by log stream,
but the grouping can be set to random for a more even distribution. This property is only applicable when
the destination is an Amazon Kinesis stream.Distribution
public PutSubscriptionFilterRequest withDistribution(Distribution distribution)
The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream.
distribution
- The method used to distribute log data to the destination. By default log data is grouped by log stream,
but the grouping can be set to random for a more even distribution. This property is only applicable when
the destination is an Amazon Kinesis stream.Distribution
public String toString()
toString
in class Object
Object.toString()
public PutSubscriptionFilterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.