Interface DescribePublishingDestinationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribePublishingDestinationResponse.Builder,DescribePublishingDestinationResponse>,GuardDutyResponse.Builder,SdkBuilder<DescribePublishingDestinationResponse.Builder,DescribePublishingDestinationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribePublishingDestinationResponse
public static interface DescribePublishingDestinationResponse.Builder extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<DescribePublishingDestinationResponse.Builder,DescribePublishingDestinationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribePublishingDestinationResponse.BuilderdestinationId(String destinationId)The ID of the publishing destination.default DescribePublishingDestinationResponse.BuilderdestinationProperties(Consumer<DestinationProperties.Builder> destinationProperties)ADestinationPropertiesobject that includes theDestinationArnandKmsKeyArnof the publishing destination.DescribePublishingDestinationResponse.BuilderdestinationProperties(DestinationProperties destinationProperties)ADestinationPropertiesobject that includes theDestinationArnandKmsKeyArnof the publishing destination.DescribePublishingDestinationResponse.BuilderdestinationType(String destinationType)The type of publishing destination.DescribePublishingDestinationResponse.BuilderdestinationType(DestinationType destinationType)The type of publishing destination.DescribePublishingDestinationResponse.BuilderpublishingFailureStartTimestamp(Long publishingFailureStartTimestamp)The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.DescribePublishingDestinationResponse.Builderstatus(String status)The status of the publishing destination.DescribePublishingDestinationResponse.Builderstatus(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 Detail
-
destinationId
DescribePublishingDestinationResponse.Builder destinationId(String 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
DescribePublishingDestinationResponse.Builder destinationType(String 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,DestinationType
-
destinationType
DescribePublishingDestinationResponse.Builder destinationType(DestinationType 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,DestinationType
-
status
DescribePublishingDestinationResponse.Builder status(String 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:
PublishingStatus,PublishingStatus
-
status
DescribePublishingDestinationResponse.Builder status(PublishingStatus 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:
PublishingStatus,PublishingStatus
-
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:
destinationProperties(DestinationProperties)
-
-