Class ConfigStreamDeliveryInfo
- java.lang.Object
-
- software.amazon.awssdk.services.config.model.ConfigStreamDeliveryInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConfigStreamDeliveryInfo.Builder,ConfigStreamDeliveryInfo>
@Generated("software.amazon.awssdk:codegen") public final class ConfigStreamDeliveryInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConfigStreamDeliveryInfo.Builder,ConfigStreamDeliveryInfo>
A list that contains the status of the delivery of the configuration stream notification to the Amazon SNS topic.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConfigStreamDeliveryInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigStreamDeliveryInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlastErrorCode()The error code from the last attempted delivery.StringlastErrorMessage()The error message from the last attempted delivery.DeliveryStatuslastStatus()Status of the last attempted delivery.StringlastStatusAsString()Status of the last attempted delivery.InstantlastStatusChangeTime()The time from the last status change.List<SdkField<?>>sdkFields()static Class<? extends ConfigStreamDeliveryInfo.Builder>serializableBuilderClass()ConfigStreamDeliveryInfo.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
-
lastStatus
public final DeliveryStatus lastStatus()
Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
If the service returns an enum value that is not available in the current SDK version,
lastStatuswill returnDeliveryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastStatusAsString().- Returns:
- Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
- See Also:
DeliveryStatus
-
lastStatusAsString
public final String lastStatusAsString()
Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
If the service returns an enum value that is not available in the current SDK version,
lastStatuswill returnDeliveryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastStatusAsString().- Returns:
- Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
- See Also:
DeliveryStatus
-
lastErrorCode
public final String lastErrorCode()
The error code from the last attempted delivery.
- Returns:
- The error code from the last attempted delivery.
-
lastErrorMessage
public final String lastErrorMessage()
The error message from the last attempted delivery.
- Returns:
- The error message from the last attempted delivery.
-
lastStatusChangeTime
public final Instant lastStatusChangeTime()
The time from the last status change.
- Returns:
- The time from the last status change.
-
toBuilder
public ConfigStreamDeliveryInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConfigStreamDeliveryInfo.Builder,ConfigStreamDeliveryInfo>
-
builder
public static ConfigStreamDeliveryInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConfigStreamDeliveryInfo.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.
-
-