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 KinesisPutRecordoperation 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
PutRecordoperation on the destination stream.- Parameters:
roleArn- The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon KinesisPutRecordoperation 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-