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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreatePublishingDestinationRequest.BuilderclientToken(String clientToken)The idempotency token for the request.default CreatePublishingDestinationRequest.BuilderdestinationProperties(Consumer<DestinationProperties.Builder> destinationProperties)The properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption.CreatePublishingDestinationRequest.BuilderdestinationProperties(DestinationProperties destinationProperties)The properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption.CreatePublishingDestinationRequest.BuilderdestinationType(String destinationType)The type of resource for the publishing destination.CreatePublishingDestinationRequest.BuilderdestinationType(DestinationType destinationType)The type of resource for the publishing destination.CreatePublishingDestinationRequest.BuilderdetectorId(String detectorId)The ID of the GuardDuty detector associated with the publishing destination.CreatePublishingDestinationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreatePublishingDestinationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
detectorId
CreatePublishingDestinationRequest.Builder detectorId(String 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
CreatePublishingDestinationRequest.Builder destinationType(String 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,DestinationType
-
destinationType
CreatePublishingDestinationRequest.Builder destinationType(DestinationType 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,DestinationType
-
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:
destinationProperties(DestinationProperties)
-
clientToken
CreatePublishingDestinationRequest.Builder clientToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePublishingDestinationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-