Interface PutDestinationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchLogsRequest.Builder
,CopyableBuilder<PutDestinationRequest.Builder,
,PutDestinationRequest> SdkBuilder<PutDestinationRequest.Builder,
,PutDestinationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutDestinationRequest
public static interface PutDestinationRequest.Builder
extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<PutDestinationRequest.Builder,PutDestinationRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationName
(String destinationName) A name for the destination.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon KinesisPutRecord
operation on the destination stream.An optional list of key-value pairs to associate with the resource.The ARN of an Amazon Kinesis stream to which to deliver matching log events.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
destinationName
A name for the destination.
- Parameters:
destinationName
- A name for the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetArn
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
- Parameters:
targetArn
- The ARN of an Amazon Kinesis stream to which to deliver matching log events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis
PutRecord
operation on the destination stream.- Parameters:
roleArn
- The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon KinesisPutRecord
operation on the destination stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An optional list of key-value pairs to associate with the resource.
For more information about tagging, see Tagging Amazon Web Services resources
- Parameters:
tags
- An optional list of key-value pairs to associate with the resource.For more information about tagging, see Tagging Amazon Web Services resources
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutDestinationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutDestinationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-