@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigurationSetInformation extends Object implements Serializable, Cloneable, StructuredPojo
Information related to a given configuration set in your Amazon Web Services account.
Constructor and Description |
---|
ConfigurationSetInformation() |
Modifier and Type | Method and Description |
---|---|
ConfigurationSetInformation |
clone() |
boolean |
equals(Object obj) |
String |
getConfigurationSetArn()
The Resource Name (ARN) of the ConfigurationSet.
|
String |
getConfigurationSetName()
The name of the ConfigurationSet.
|
Date |
getCreatedTimestamp()
The time when the ConfigurationSet was created, in UNIX epoch time
format.
|
String |
getDefaultMessageType()
The type of message.
|
String |
getDefaultSenderId()
The default sender ID used by the ConfigurationSet.
|
List<EventDestination> |
getEventDestinations()
An array of EventDestination objects that describe any events to log and where to log them.
|
String |
getProtectConfigurationId()
The unique identifier for the protect configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfigurationSetArn(String configurationSetArn)
The Resource Name (ARN) of the ConfigurationSet.
|
void |
setConfigurationSetName(String configurationSetName)
The name of the ConfigurationSet.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The time when the ConfigurationSet was created, in UNIX epoch time
format.
|
void |
setDefaultMessageType(String defaultMessageType)
The type of message.
|
void |
setDefaultSenderId(String defaultSenderId)
The default sender ID used by the ConfigurationSet.
|
void |
setEventDestinations(Collection<EventDestination> eventDestinations)
An array of EventDestination objects that describe any events to log and where to log them.
|
void |
setProtectConfigurationId(String protectConfigurationId)
The unique identifier for the protect configuration.
|
String |
toString()
Returns a string representation of this object.
|
ConfigurationSetInformation |
withConfigurationSetArn(String configurationSetArn)
The Resource Name (ARN) of the ConfigurationSet.
|
ConfigurationSetInformation |
withConfigurationSetName(String configurationSetName)
The name of the ConfigurationSet.
|
ConfigurationSetInformation |
withCreatedTimestamp(Date createdTimestamp)
The time when the ConfigurationSet was created, in UNIX epoch time
format.
|
ConfigurationSetInformation |
withDefaultMessageType(MessageType defaultMessageType)
The type of message.
|
ConfigurationSetInformation |
withDefaultMessageType(String defaultMessageType)
The type of message.
|
ConfigurationSetInformation |
withDefaultSenderId(String defaultSenderId)
The default sender ID used by the ConfigurationSet.
|
ConfigurationSetInformation |
withEventDestinations(Collection<EventDestination> eventDestinations)
An array of EventDestination objects that describe any events to log and where to log them.
|
ConfigurationSetInformation |
withEventDestinations(EventDestination... eventDestinations)
An array of EventDestination objects that describe any events to log and where to log them.
|
ConfigurationSetInformation |
withProtectConfigurationId(String protectConfigurationId)
The unique identifier for the protect configuration.
|
public void setConfigurationSetArn(String configurationSetArn)
The Resource Name (ARN) of the ConfigurationSet.
configurationSetArn
- The Resource Name (ARN) of the ConfigurationSet.public String getConfigurationSetArn()
The Resource Name (ARN) of the ConfigurationSet.
public ConfigurationSetInformation withConfigurationSetArn(String configurationSetArn)
The Resource Name (ARN) of the ConfigurationSet.
configurationSetArn
- The Resource Name (ARN) of the ConfigurationSet.public void setConfigurationSetName(String configurationSetName)
The name of the ConfigurationSet.
configurationSetName
- The name of the ConfigurationSet.public String getConfigurationSetName()
The name of the ConfigurationSet.
public ConfigurationSetInformation withConfigurationSetName(String configurationSetName)
The name of the ConfigurationSet.
configurationSetName
- The name of the ConfigurationSet.public List<EventDestination> getEventDestinations()
An array of EventDestination objects that describe any events to log and where to log them.
public void setEventDestinations(Collection<EventDestination> eventDestinations)
An array of EventDestination objects that describe any events to log and where to log them.
eventDestinations
- An array of EventDestination objects that describe any events to log and where to log them.public ConfigurationSetInformation withEventDestinations(EventDestination... eventDestinations)
An array of EventDestination objects that describe any events to log and where to log them.
NOTE: This method appends the values to the existing list (if any). Use
setEventDestinations(java.util.Collection)
or withEventDestinations(java.util.Collection)
if
you want to override the existing values.
eventDestinations
- An array of EventDestination objects that describe any events to log and where to log them.public ConfigurationSetInformation withEventDestinations(Collection<EventDestination> eventDestinations)
An array of EventDestination objects that describe any events to log and where to log them.
eventDestinations
- An array of EventDestination objects that describe any events to log and where to log them.public void setDefaultMessageType(String defaultMessageType)
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
defaultMessageType
- The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and
PROMOTIONAL for messages that aren't critical or time-sensitive.MessageType
public String getDefaultMessageType()
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
MessageType
public ConfigurationSetInformation withDefaultMessageType(String defaultMessageType)
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
defaultMessageType
- The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and
PROMOTIONAL for messages that aren't critical or time-sensitive.MessageType
public ConfigurationSetInformation withDefaultMessageType(MessageType defaultMessageType)
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
defaultMessageType
- The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and
PROMOTIONAL for messages that aren't critical or time-sensitive.MessageType
public void setDefaultSenderId(String defaultSenderId)
The default sender ID used by the ConfigurationSet.
defaultSenderId
- The default sender ID used by the ConfigurationSet.public String getDefaultSenderId()
The default sender ID used by the ConfigurationSet.
public ConfigurationSetInformation withDefaultSenderId(String defaultSenderId)
The default sender ID used by the ConfigurationSet.
defaultSenderId
- The default sender ID used by the ConfigurationSet.public void setCreatedTimestamp(Date createdTimestamp)
The time when the ConfigurationSet was created, in UNIX epoch time format.
createdTimestamp
- The time when the ConfigurationSet was created, in UNIX epoch
time format.public Date getCreatedTimestamp()
The time when the ConfigurationSet was created, in UNIX epoch time format.
public ConfigurationSetInformation withCreatedTimestamp(Date createdTimestamp)
The time when the ConfigurationSet was created, in UNIX epoch time format.
createdTimestamp
- The time when the ConfigurationSet was created, in UNIX epoch
time format.public void setProtectConfigurationId(String protectConfigurationId)
The unique identifier for the protect configuration.
protectConfigurationId
- The unique identifier for the protect configuration.public String getProtectConfigurationId()
The unique identifier for the protect configuration.
public ConfigurationSetInformation withProtectConfigurationId(String protectConfigurationId)
The unique identifier for the protect configuration.
protectConfigurationId
- The unique identifier for the protect configuration.public String toString()
toString
in class Object
Object.toString()
public ConfigurationSetInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.