Class DescribePublishingDestinationResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.guardduty.model.GuardDutyResponse
-
- software.amazon.awssdk.services.guardduty.model.DescribePublishingDestinationResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribePublishingDestinationResponse.Builder,DescribePublishingDestinationResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribePublishingDestinationResponse extends GuardDutyResponse implements ToCopyableBuilder<DescribePublishingDestinationResponse.Builder,DescribePublishingDestinationResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribePublishingDestinationResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribePublishingDestinationResponse.Builderbuilder()StringdestinationId()The ID of the publishing destination.DestinationPropertiesdestinationProperties()ADestinationPropertiesobject that includes theDestinationArnandKmsKeyArnof the publishing destination.DestinationTypedestinationType()The type of publishing destination.StringdestinationTypeAsString()The type of publishing destination.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongpublishingFailureStartTimestamp()The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.List<SdkField<?>>sdkFields()static Class<? extends DescribePublishingDestinationResponse.Builder>serializableBuilderClass()PublishingStatusstatus()The status of the publishing destination.StringstatusAsString()The status of the publishing destination.DescribePublishingDestinationResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.guardduty.model.GuardDutyResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
destinationId
public final String destinationId()
The ID of the publishing destination.
- Returns:
- The ID of the publishing destination.
-
destinationType
public final DestinationType destinationType()
The type of publishing destination. Currently, only Amazon S3 buckets are supported.
If the service returns an enum value that is not available in the current SDK version,
destinationTypewill returnDestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationTypeAsString().- Returns:
- The type of publishing destination. Currently, only Amazon S3 buckets are supported.
- See Also:
DestinationType
-
destinationTypeAsString
public final String destinationTypeAsString()
The type of publishing destination. Currently, only Amazon S3 buckets are supported.
If the service returns an enum value that is not available in the current SDK version,
destinationTypewill returnDestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationTypeAsString().- Returns:
- The type of publishing destination. Currently, only Amazon S3 buckets are supported.
- See Also:
DestinationType
-
status
public final PublishingStatus status()
The status of the publishing destination.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnPublishingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the publishing destination.
- See Also:
PublishingStatus
-
statusAsString
public final String statusAsString()
The status of the publishing destination.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnPublishingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the publishing destination.
- See Also:
PublishingStatus
-
publishingFailureStartTimestamp
public final Long publishingFailureStartTimestamp()
The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.
- Returns:
- The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.
-
destinationProperties
public final DestinationProperties destinationProperties()
A
DestinationPropertiesobject that includes theDestinationArnandKmsKeyArnof the publishing destination.- Returns:
- A
DestinationPropertiesobject that includes theDestinationArnandKmsKeyArnof the publishing destination.
-
toBuilder
public DescribePublishingDestinationResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribePublishingDestinationResponse.Builder,DescribePublishingDestinationResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribePublishingDestinationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribePublishingDestinationResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-