Interface Destination.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Destination.Builder,
,Destination> SdkBuilder<Destination.Builder,
,Destination> SdkPojo
- Enclosing class:
Destination
public static interface Destination.Builder
extends SdkPojo, CopyableBuilder<Destination.Builder,Destination>
-
Method Summary
Modifier and TypeMethodDescriptionaccessPolicy
(String accessPolicy) An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.The ARN of this destination.creationTime
(Long creationTime) The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.destinationName
(String destinationName) The name of the destination.A role for impersonation, used when delivering log events to the target.The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).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
The name of the destination.
- Parameters:
destinationName
- The name of the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetArn
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
- Parameters:
targetArn
- The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
A role for impersonation, used when delivering log events to the target.
- Parameters:
roleArn
- A role for impersonation, used when delivering log events to the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPolicy
An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.
- Parameters:
accessPolicy
- An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of this destination.
- Parameters:
arn
- The ARN of this destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
- Parameters:
creationTime
- The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-