Interface DescribePublishingDestinationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribePublishingDestinationResponse.Builder,,DescribePublishingDestinationResponse> GuardDutyResponse.Builder,SdkBuilder<DescribePublishingDestinationResponse.Builder,,DescribePublishingDestinationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribePublishingDestinationResponse
-
Method Summary
Modifier and TypeMethodDescriptiondestinationId(String destinationId) The ID of the publishing destination.destinationProperties(Consumer<DestinationProperties.Builder> destinationProperties) ADestinationPropertiesobject that includes theDestinationArnandKmsKeyArnof the publishing destination.destinationProperties(DestinationProperties destinationProperties) ADestinationPropertiesobject that includes theDestinationArnandKmsKeyArnof the publishing destination.destinationType(String destinationType) The type of publishing destination.destinationType(DestinationType destinationType) The type of publishing destination.publishingFailureStartTimestamp(Long publishingFailureStartTimestamp) The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.The status of the publishing destination.status(PublishingStatus status) The status of the publishing destination.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
destinationId
The ID of the publishing destination.
- Parameters:
destinationId- The ID of the publishing destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationType
The type of publishing destination. Currently, only Amazon S3 buckets are supported.
- Parameters:
destinationType- The type of 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
The type of publishing destination. Currently, only Amazon S3 buckets are supported.
- Parameters:
destinationType- The type of 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:
-
status
The status of the publishing destination.
- Parameters:
status- The status of the publishing destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the publishing destination.
- Parameters:
status- The status of the publishing destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publishingFailureStartTimestamp
DescribePublishingDestinationResponse.Builder publishingFailureStartTimestamp(Long publishingFailureStartTimestamp) The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.
- Parameters:
publishingFailureStartTimestamp- The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationProperties
DescribePublishingDestinationResponse.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 DescribePublishingDestinationResponse.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:
-