@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateResolverQueryLogConfigRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateResolverQueryLogConfigRequest() |
Modifier and Type | Method and Description |
---|---|
CreateResolverQueryLogConfigRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCreatorRequestId()
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running the operation twice.
|
String |
getDestinationArn()
The ARN of the resource that you want Resolver to send query logs.
|
String |
getName()
The name that you want to give the query logging configuration.
|
List<Tag> |
getTags()
A list of the tag keys and values that you want to associate with the query logging configuration.
|
int |
hashCode() |
void |
setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running the operation twice.
|
void |
setDestinationArn(String destinationArn)
The ARN of the resource that you want Resolver to send query logs.
|
void |
setName(String name)
The name that you want to give the query logging configuration.
|
void |
setTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the query logging configuration.
|
String |
toString()
Returns a string representation of this object.
|
CreateResolverQueryLogConfigRequest |
withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running the operation twice.
|
CreateResolverQueryLogConfigRequest |
withDestinationArn(String destinationArn)
The ARN of the resource that you want Resolver to send query logs.
|
CreateResolverQueryLogConfigRequest |
withName(String name)
The name that you want to give the query logging configuration.
|
CreateResolverQueryLogConfigRequest |
withTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the query logging configuration.
|
CreateResolverQueryLogConfigRequest |
withTags(Tag... tags)
A list of the tag keys and values that you want to associate with the query logging configuration.
|
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 setName(String name)
The name that you want to give the query logging configuration.
name
- The name that you want to give the query logging configuration.public String getName()
The name that you want to give the query logging configuration.
public CreateResolverQueryLogConfigRequest withName(String name)
The name that you want to give the query logging configuration.
name
- The name that you want to give the query logging configuration.public void setDestinationArn(String destinationArn)
The ARN of the resource that you want Resolver to send query logs. You can send query logs to an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Examples of valid values include the following:
S3 bucket:
arn:aws:s3:::examplebucket
You can optionally append a file prefix to the end of the ARN.
arn:aws:s3:::examplebucket/development/
CloudWatch Logs log group:
arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:*
Kinesis Data Firehose delivery stream:
arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name
destinationArn
- The ARN of the resource that you want Resolver to send query logs. You can send query logs to an S3
bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Examples of valid values
include the following:
S3 bucket:
arn:aws:s3:::examplebucket
You can optionally append a file prefix to the end of the ARN.
arn:aws:s3:::examplebucket/development/
CloudWatch Logs log group:
arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:*
Kinesis Data Firehose delivery stream:
arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name
public String getDestinationArn()
The ARN of the resource that you want Resolver to send query logs. You can send query logs to an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Examples of valid values include the following:
S3 bucket:
arn:aws:s3:::examplebucket
You can optionally append a file prefix to the end of the ARN.
arn:aws:s3:::examplebucket/development/
CloudWatch Logs log group:
arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:*
Kinesis Data Firehose delivery stream:
arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name
S3 bucket:
arn:aws:s3:::examplebucket
You can optionally append a file prefix to the end of the ARN.
arn:aws:s3:::examplebucket/development/
CloudWatch Logs log group:
arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:*
Kinesis Data Firehose delivery stream:
arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name
public CreateResolverQueryLogConfigRequest withDestinationArn(String destinationArn)
The ARN of the resource that you want Resolver to send query logs. You can send query logs to an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Examples of valid values include the following:
S3 bucket:
arn:aws:s3:::examplebucket
You can optionally append a file prefix to the end of the ARN.
arn:aws:s3:::examplebucket/development/
CloudWatch Logs log group:
arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:*
Kinesis Data Firehose delivery stream:
arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name
destinationArn
- The ARN of the resource that you want Resolver to send query logs. You can send query logs to an S3
bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Examples of valid values
include the following:
S3 bucket:
arn:aws:s3:::examplebucket
You can optionally append a file prefix to the end of the ARN.
arn:aws:s3:::examplebucket/development/
CloudWatch Logs log group:
arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:*
Kinesis Data Firehose delivery stream:
arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name
public void setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running the operation twice. CreatorRequestId
can be any unique string, for example, a date/time
stamp.
creatorRequestId
- A unique string that identifies the request and that allows failed requests to be retried without the risk
of running the operation twice. CreatorRequestId
can be any unique string, for example, a
date/time stamp.public String getCreatorRequestId()
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running the operation twice. CreatorRequestId
can be any unique string, for example, a date/time
stamp.
CreatorRequestId
can be any unique string, for example,
a date/time stamp.public CreateResolverQueryLogConfigRequest withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running the operation twice. CreatorRequestId
can be any unique string, for example, a date/time
stamp.
creatorRequestId
- A unique string that identifies the request and that allows failed requests to be retried without the risk
of running the operation twice. CreatorRequestId
can be any unique string, for example, a
date/time stamp.public List<Tag> getTags()
A list of the tag keys and values that you want to associate with the query logging configuration.
public void setTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the query logging configuration.
tags
- A list of the tag keys and values that you want to associate with the query logging configuration.public CreateResolverQueryLogConfigRequest withTags(Tag... tags)
A list of the tag keys and values that you want to associate with the query logging configuration.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of the tag keys and values that you want to associate with the query logging configuration.public CreateResolverQueryLogConfigRequest withTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the query logging configuration.
tags
- A list of the tag keys and values that you want to associate with the query logging configuration.public String toString()
toString
in class Object
Object.toString()
public CreateResolverQueryLogConfigRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()