Interface CreatePublishingDestinationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePublishingDestinationRequest.Builder,,CreatePublishingDestinationRequest> GuardDutyRequest.Builder,SdkBuilder<CreatePublishingDestinationRequest.Builder,,CreatePublishingDestinationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePublishingDestinationRequest
public static interface CreatePublishingDestinationRequest.Builder
extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<CreatePublishingDestinationRequest.Builder,CreatePublishingDestinationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) The idempotency token for the request.destinationProperties(Consumer<DestinationProperties.Builder> destinationProperties) The properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption.destinationProperties(DestinationProperties destinationProperties) The properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption.destinationType(String destinationType) The type of resource for the publishing destination.destinationType(DestinationType destinationType) The type of resource for the publishing destination.detectorId(String detectorId) The ID of the GuardDuty detector associated with the publishing destination.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
detectorId
The ID of the GuardDuty detector associated with the publishing destination.
- Parameters:
detectorId- The ID of the GuardDuty detector associated with the publishing destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationType
The type of resource for the publishing destination. Currently only Amazon S3 buckets are supported.
- Parameters:
destinationType- The type of resource for the publishing destination. Currently only Amazon S3 buckets are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationType
The type of resource for the publishing destination. Currently only Amazon S3 buckets are supported.
- Parameters:
destinationType- The type of resource for the publishing destination. Currently only Amazon S3 buckets are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationProperties
CreatePublishingDestinationRequest.Builder destinationProperties(DestinationProperties destinationProperties) The properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption.
- Parameters:
destinationProperties- The properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationProperties
default CreatePublishingDestinationRequest.Builder destinationProperties(Consumer<DestinationProperties.Builder> destinationProperties) The properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption.
This is a convenience method that creates an instance of theDestinationProperties.Builderavoiding the need to create one manually viaDestinationProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationProperties(DestinationProperties).- Parameters:
destinationProperties- a consumer that will call methods onDestinationProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
The idempotency token for the request.
- Parameters:
clientToken- The idempotency token for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePublishingDestinationRequest.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
CreatePublishingDestinationRequest.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.
-