@Generated(value="software.amazon.awssdk:codegen") public class ConfigStreamDeliveryInfo extends Object implements StructuredPojo, ToCopyableBuilder<ConfigStreamDeliveryInfo.Builder,ConfigStreamDeliveryInfo>
A list that contains the status of the delivery of the configuration stream notification to the Amazon SNS topic.
Modifier and Type | Class and Description |
---|---|
static interface |
ConfigStreamDeliveryInfo.Builder |
Modifier and Type | Method and Description |
---|---|
static ConfigStreamDeliveryInfo.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastErrorCode()
The error code from the last attempted delivery.
|
String |
lastErrorMessage()
The error message from the last attempted delivery.
|
DeliveryStatus |
lastStatus()
Status of the last attempted delivery.
|
Instant |
lastStatusChangeTime()
The time from the last status change.
|
String |
lastStatusString()
Status of the last attempted delivery.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends ConfigStreamDeliveryInfo.Builder> |
serializableBuilderClass() |
ConfigStreamDeliveryInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public DeliveryStatus lastStatus()
Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for AWS 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, lastStatus
will
return DeliveryStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
lastStatusString()
.
Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
DeliveryStatus
public String lastStatusString()
Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for AWS 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, lastStatus
will
return DeliveryStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
lastStatusString()
.
Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
DeliveryStatus
public String lastErrorCode()
The error code from the last attempted delivery.
public String lastErrorMessage()
The error message from the last attempted delivery.
public Instant lastStatusChangeTime()
The time from the last status change.
public ConfigStreamDeliveryInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ConfigStreamDeliveryInfo.Builder,ConfigStreamDeliveryInfo>
public static ConfigStreamDeliveryInfo.Builder builder()
public static Class<? extends ConfigStreamDeliveryInfo.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.