public static interface PutDestinationRequest.Builder extends CloudWatchLogsRequest.Builder, CopyableBuilder<PutDestinationRequest.Builder,PutDestinationRequest>
Modifier and Type | Method and Description |
---|---|
PutDestinationRequest.Builder |
destinationName(String destinationName)
A name for the destination.
|
PutDestinationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutDestinationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
PutDestinationRequest.Builder |
roleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord operation
on the destination stream.
|
PutDestinationRequest.Builder |
targetArn(String targetArn)
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
|
build
overrideConfiguration
copy
applyMutation, build
PutDestinationRequest.Builder destinationName(String destinationName)
A name for the destination.
destinationName
- A name for the destination.PutDestinationRequest.Builder targetArn(String targetArn)
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
targetArn
- The ARN of an Amazon Kinesis stream to which to deliver matching log events.PutDestinationRequest.Builder roleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord operation on the destination stream.
roleArn
- The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord
operation on the destination stream.PutDestinationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutDestinationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.