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) ADestinationProperties
object that includes theDestinationArn
andKmsKeyArn
of the publishing destination.destinationProperties
(DestinationProperties destinationProperties) ADestinationProperties
object that includes theDestinationArn
andKmsKeyArn
of 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
copy
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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
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 DescribePublishingDestinationResponse.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:
-