public static interface UpdatePublishingDestinationRequest.Builder extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<UpdatePublishingDestinationRequest.Builder,UpdatePublishingDestinationRequest>
Modifier and Type | Method and Description |
---|---|
UpdatePublishingDestinationRequest.Builder |
destinationId(String destinationId)
The ID of the publishing destination to update.
|
default UpdatePublishingDestinationRequest.Builder |
destinationProperties(Consumer<DestinationProperties.Builder> destinationProperties)
A
DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination. |
UpdatePublishingDestinationRequest.Builder |
destinationProperties(DestinationProperties destinationProperties)
A
DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination. |
UpdatePublishingDestinationRequest.Builder |
detectorId(String detectorId)
The ID of the detector associated with the publishing destinations to update.
|
UpdatePublishingDestinationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdatePublishingDestinationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdatePublishingDestinationRequest.Builder detectorId(String detectorId)
The ID of the detector associated with the publishing destinations to update.
detectorId
- The ID of the detector associated with the publishing destinations to update.UpdatePublishingDestinationRequest.Builder destinationId(String destinationId)
The ID of the publishing destination to update.
destinationId
- The ID of the publishing destination to update.UpdatePublishingDestinationRequest.Builder destinationProperties(DestinationProperties destinationProperties)
A DestinationProperties
object that includes the DestinationArn
and
KmsKeyArn
of the publishing destination.
destinationProperties
- A DestinationProperties
object that includes the DestinationArn
and
KmsKeyArn
of the publishing destination.default UpdatePublishingDestinationRequest.Builder destinationProperties(Consumer<DestinationProperties.Builder> destinationProperties)
A DestinationProperties
object that includes the DestinationArn
and
KmsKeyArn
of the publishing destination.
DestinationProperties.Builder
avoiding the need
to create one manually via DestinationProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to destinationProperties(DestinationProperties)
.destinationProperties
- a consumer that will call methods on DestinationProperties.Builder
destinationProperties(DestinationProperties)
UpdatePublishingDestinationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdatePublishingDestinationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.