Class Destination
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.Destination
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Destination.Builder,Destination>
@Generated("software.amazon.awssdk:codegen") public final class Destination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Destination.Builder,Destination>
Contains information about the publishing destination, including the ID, type, and status.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDestination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Destination.Builderbuilder()StringdestinationId()The unique ID of the publishing destination.DestinationTypedestinationType()The type of resource used for the publishing destination.StringdestinationTypeAsString()The type of resource used for the publishing destination.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Destination.Builder>serializableBuilderClass()PublishingStatusstatus()The status of the publishing destination.StringstatusAsString()The status of the publishing destination.Destination.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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 unique ID of the publishing destination.
- Returns:
- The unique ID of the publishing destination.
-
destinationType
public final DestinationType destinationType()
The type of resource used for the 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 resource used for the publishing destination. Currently, only Amazon S3 buckets are supported.
- See Also:
DestinationType
-
destinationTypeAsString
public final String destinationTypeAsString()
The type of resource used for the 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 resource used for the 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
-
toBuilder
public Destination.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Destination.Builder,Destination>
-
builder
public static Destination.Builder builder()
-
serializableBuilderClass
public static Class<? extends Destination.Builder> serializableBuilderClass()
-
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.
-
-