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
-
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
UpdatePublishingDestinationRequest.Builder detectorId(String 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
UpdatePublishingDestinationRequest.Builder destinationId(String 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
DestinationPropertiesobject that includes theDestinationArnandKmsKeyArnof the publishing destination.- Parameters:
destinationProperties- ADestinationPropertiesobject that includes theDestinationArnandKmsKeyArnof 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 theDestinationPropertiesobject that includes theDestinationArnandKmsKeyArnof the publishing destination.DestinationProperties.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)
-
overrideConfiguration
UpdatePublishingDestinationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePublishingDestinationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-