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 request.
|
boolean |
equals(Object obj) |
String |
getDestinationArn()
The ARN of the destination to deliver matching log events to.
|
String |
getFilterName()
A name for the subscription filter.
|
String |
getFilterPattern()
A valid CloudWatch Logs filter pattern for subscribing to a filtered
stream of log events.
|
String |
getLogGroupName()
The name of the log group to associate the subscription filter with.
|
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 |
setFilterName(String filterName)
A name for the subscription filter.
|
void |
setFilterPattern(String filterPattern)
A valid CloudWatch Logs filter pattern for subscribing to a filtered
stream of log events.
|
void |
setLogGroupName(String logGroupName)
The name of the log group to associate the subscription filter with.
|
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 |
withFilterName(String filterName)
A name for the subscription filter.
|
PutSubscriptionFilterRequest |
withFilterPattern(String filterPattern)
A valid CloudWatch Logs filter pattern for subscribing to a filtered
stream of log events.
|
PutSubscriptionFilterRequest |
withLogGroupName(String logGroupName)
The name of the log group to associate the subscription filter with.
|
PutSubscriptionFilterRequest |
withRoleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to deliver
ingested log events to the destination stream.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setLogGroupName(String logGroupName)
The name of the log group to associate the subscription filter with.
logGroupName
- The name of the log group to associate the subscription filter
with.public String getLogGroupName()
The name of the log group to associate the subscription filter with.
public PutSubscriptionFilterRequest withLogGroupName(String logGroupName)
The name of the log group to associate the subscription filter with.
logGroupName
- The name of the log group to associate the subscription filter
with.public void setFilterName(String filterName)
A name for the subscription filter.
filterName
- A name for the subscription filter.public String getFilterName()
A name for the subscription filter.
public PutSubscriptionFilterRequest withFilterName(String filterName)
A name for the subscription filter.
filterName
- A name for the subscription filter.public void setFilterPattern(String filterPattern)
A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events.
filterPattern
- A valid CloudWatch Logs filter pattern for subscribing to a
filtered stream of log events.public String getFilterPattern()
A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events.
public PutSubscriptionFilterRequest withFilterPattern(String filterPattern)
A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events.
filterPattern
- A valid CloudWatch Logs 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:
Destination
)
belonging to a different account, for cross-account delivery.destinationArn
- The ARN of the destination to deliver matching log events to.
Currently, the supported destinations are:
Destination
) belonging to a different account, for
cross-account delivery.public String getDestinationArn()
The ARN of the destination to deliver matching log events to. Currently, the supported destinations are:
Destination
)
belonging to a different account, for cross-account delivery.Destination
) belonging to a different account, for
cross-account delivery.public PutSubscriptionFilterRequest withDestinationArn(String destinationArn)
The ARN of the destination to deliver matching log events to. Currently, the supported destinations are:
Destination
)
belonging to a different account, for cross-account delivery.destinationArn
- The ARN of the destination to deliver matching log events to.
Currently, the supported destinations are:
Destination
) belonging to a different account, for
cross-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 (used via an ARN
of 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 (used via an ARN of 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 (used via an ARN
of Destination
) for cross-account delivery.
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 (used via an ARN
of 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 (used via an ARN of Destination
) for
cross-account delivery.public String toString()
toString
in class Object
Object.toString()
public PutSubscriptionFilterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.