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) ADestinationPropertiesobject that includes theDestinationArnandKmsKeyArnof the publishing destination.destinationProperties(DestinationProperties destinationProperties) ADestinationPropertiesobject that includes theDestinationArnandKmsKeyArnof 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
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 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
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:
-
overrideConfiguration
UpdatePublishingDestinationRequest.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
UpdatePublishingDestinationRequest.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.
-