@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePublishingDestinationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribePublishingDestinationResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribePublishingDestinationResult |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationId()
The ID of the publishing destination.
|
DestinationProperties |
getDestinationProperties()
A
DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination. |
String |
getDestinationType()
The type of publishing destination.
|
Long |
getPublishingFailureStartTimestamp()
The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the
destination.
|
String |
getStatus()
The status of the publishing destination.
|
int |
hashCode() |
void |
setDestinationId(String destinationId)
The ID of the publishing destination.
|
void |
setDestinationProperties(DestinationProperties destinationProperties)
A
DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination. |
void |
setDestinationType(String destinationType)
The type of publishing destination.
|
void |
setPublishingFailureStartTimestamp(Long publishingFailureStartTimestamp)
The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the
destination.
|
void |
setStatus(String status)
The status of the publishing destination.
|
String |
toString()
Returns a string representation of this object.
|
DescribePublishingDestinationResult |
withDestinationId(String destinationId)
The ID of the publishing destination.
|
DescribePublishingDestinationResult |
withDestinationProperties(DestinationProperties destinationProperties)
A
DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination. |
DescribePublishingDestinationResult |
withDestinationType(DestinationType destinationType)
The type of publishing destination.
|
DescribePublishingDestinationResult |
withDestinationType(String destinationType)
The type of publishing destination.
|
DescribePublishingDestinationResult |
withPublishingFailureStartTimestamp(Long publishingFailureStartTimestamp)
The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the
destination.
|
DescribePublishingDestinationResult |
withStatus(PublishingStatus status)
The status of the publishing destination.
|
DescribePublishingDestinationResult |
withStatus(String status)
The status of the publishing destination.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setDestinationId(String destinationId)
The ID of the publishing destination.
destinationId - The ID of the publishing destination.public String getDestinationId()
The ID of the publishing destination.
public DescribePublishingDestinationResult withDestinationId(String destinationId)
The ID of the publishing destination.
destinationId - The ID of the publishing destination.public void setDestinationType(String destinationType)
The type of publishing destination. Currently, only Amazon S3 buckets are supported.
destinationType - The type of publishing destination. Currently, only Amazon S3 buckets are supported.DestinationTypepublic String getDestinationType()
The type of publishing destination. Currently, only Amazon S3 buckets are supported.
DestinationTypepublic DescribePublishingDestinationResult withDestinationType(String destinationType)
The type of publishing destination. Currently, only Amazon S3 buckets are supported.
destinationType - The type of publishing destination. Currently, only Amazon S3 buckets are supported.DestinationTypepublic DescribePublishingDestinationResult withDestinationType(DestinationType destinationType)
The type of publishing destination. Currently, only Amazon S3 buckets are supported.
destinationType - The type of publishing destination. Currently, only Amazon S3 buckets are supported.DestinationTypepublic void setStatus(String status)
The status of the publishing destination.
status - The status of the publishing destination.PublishingStatuspublic String getStatus()
The status of the publishing destination.
PublishingStatuspublic DescribePublishingDestinationResult withStatus(String status)
The status of the publishing destination.
status - The status of the publishing destination.PublishingStatuspublic DescribePublishingDestinationResult withStatus(PublishingStatus status)
The status of the publishing destination.
status - The status of the publishing destination.PublishingStatuspublic void setPublishingFailureStartTimestamp(Long publishingFailureStartTimestamp)
The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.
publishingFailureStartTimestamp - The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the
destination.public Long getPublishingFailureStartTimestamp()
The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.
public DescribePublishingDestinationResult withPublishingFailureStartTimestamp(Long publishingFailureStartTimestamp)
The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.
publishingFailureStartTimestamp - The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the
destination.public void setDestinationProperties(DestinationProperties destinationProperties)
A DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination.
destinationProperties - A DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination.public DestinationProperties getDestinationProperties()
A DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination.
DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination.public DescribePublishingDestinationResult withDestinationProperties(DestinationProperties destinationProperties)
A DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination.
destinationProperties - A DestinationProperties object that includes the DestinationArn and
KmsKeyArn of the publishing destination.public String toString()
toString in class ObjectObject.toString()public DescribePublishingDestinationResult clone()