Interface UpdatePublishingDestinationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdatePublishingDestinationRequest.Builder,
,UpdatePublishingDestinationRequest> GuardDutyRequest.Builder
,SdkBuilder<UpdatePublishingDestinationRequest.Builder,
,UpdatePublishingDestinationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdatePublishingDestinationRequest
public static interface UpdatePublishingDestinationRequest.Builder
extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<UpdatePublishingDestinationRequest.Builder,UpdatePublishingDestinationRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationId
(String destinationId) The ID of the publishing destination to update.destinationProperties
(Consumer<DestinationProperties.Builder> destinationProperties) ADestinationProperties
object that includes theDestinationArn
andKmsKeyArn
of the publishing destination.destinationProperties
(DestinationProperties destinationProperties) ADestinationProperties
object that includes theDestinationArn
andKmsKeyArn
of the publishing destination.detectorId
(String detectorId) The ID of the detector associated with the publishing destinations to update.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
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 Details
-
detectorId
The ID of the detector associated with the publishing destinations to update.
- Parameters:
detectorId
- The ID of the detector associated with the publishing destinations to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationId
The ID of the publishing destination to update.
- Parameters:
destinationId
- The ID of the publishing destination to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationProperties
UpdatePublishingDestinationRequest.Builder destinationProperties(DestinationProperties destinationProperties) A
DestinationProperties
object that includes theDestinationArn
andKmsKeyArn
of the publishing destination.- Parameters:
destinationProperties
- ADestinationProperties
object that includes theDestinationArn
andKmsKeyArn
of the publishing destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationProperties
default UpdatePublishingDestinationRequest.Builder destinationProperties(Consumer<DestinationProperties.Builder> destinationProperties) A
This is a convenience method that creates an instance of theDestinationProperties
object that includes theDestinationArn
andKmsKeyArn
of the publishing destination.DestinationProperties.Builder
avoiding the need to create one manually viaDestinationProperties.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
UpdatePublishingDestinationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdatePublishingDestinationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-