@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLoggingConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateLoggingConfigurationResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateLoggingConfigurationResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateLoggingConfigurationResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateLoggingConfigurationResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Logging-configuration ARN, assigned by the system.
|
Date |
getCreateTime()
Time when the logging configuration was created.
|
DestinationConfiguration |
getDestinationConfiguration()
A complex type that contains a destination configuration for where chat content will be logged, from the request.
|
String |
getId()
Logging-configuration ID, generated by the system.
|
String |
getName()
Logging-configuration name, from the request (if specified).
|
String |
getState()
The state of the logging configuration.
|
Map<String,String> |
getTags()
Tags attached to the resource, from the request (if specified).
|
Date |
getUpdateTime()
Time of the logging configuration’s last update.
|
int |
hashCode() |
void |
setArn(String arn)
Logging-configuration ARN, assigned by the system.
|
void |
setCreateTime(Date createTime)
Time when the logging configuration was created.
|
void |
setDestinationConfiguration(DestinationConfiguration destinationConfiguration)
A complex type that contains a destination configuration for where chat content will be logged, from the request.
|
void |
setId(String id)
Logging-configuration ID, generated by the system.
|
void |
setName(String name)
Logging-configuration name, from the request (if specified).
|
void |
setState(String state)
The state of the logging configuration.
|
void |
setTags(Map<String,String> tags)
Tags attached to the resource, from the request (if specified).
|
void |
setUpdateTime(Date updateTime)
Time of the logging configuration’s last update.
|
String |
toString()
Returns a string representation of this object.
|
CreateLoggingConfigurationResult |
withArn(String arn)
Logging-configuration ARN, assigned by the system.
|
CreateLoggingConfigurationResult |
withCreateTime(Date createTime)
Time when the logging configuration was created.
|
CreateLoggingConfigurationResult |
withDestinationConfiguration(DestinationConfiguration destinationConfiguration)
A complex type that contains a destination configuration for where chat content will be logged, from the request.
|
CreateLoggingConfigurationResult |
withId(String id)
Logging-configuration ID, generated by the system.
|
CreateLoggingConfigurationResult |
withName(String name)
Logging-configuration name, from the request (if specified).
|
CreateLoggingConfigurationResult |
withState(CreateLoggingConfigurationState state)
The state of the logging configuration.
|
CreateLoggingConfigurationResult |
withState(String state)
The state of the logging configuration.
|
CreateLoggingConfigurationResult |
withTags(Map<String,String> tags)
Tags attached to the resource, from the request (if specified).
|
CreateLoggingConfigurationResult |
withUpdateTime(Date updateTime)
Time of the logging configuration’s last update.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setArn(String arn)
Logging-configuration ARN, assigned by the system.
arn - Logging-configuration ARN, assigned by the system.public String getArn()
Logging-configuration ARN, assigned by the system.
public CreateLoggingConfigurationResult withArn(String arn)
Logging-configuration ARN, assigned by the system.
arn - Logging-configuration ARN, assigned by the system.public void setId(String id)
Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the logging configuration.
id - Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that
uniquely identifies the logging configuration.public String getId()
Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the logging configuration.
public CreateLoggingConfigurationResult withId(String id)
Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the logging configuration.
id - Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that
uniquely identifies the logging configuration.public void setCreateTime(Date createTime)
Time when the logging configuration was created. This is an ISO 8601 timestamp; note that this is returned as a string.
createTime - Time when the logging configuration was created. This is an ISO 8601 timestamp; note that this is
returned as a string.public Date getCreateTime()
Time when the logging configuration was created. This is an ISO 8601 timestamp; note that this is returned as a string.
public CreateLoggingConfigurationResult withCreateTime(Date createTime)
Time when the logging configuration was created. This is an ISO 8601 timestamp; note that this is returned as a string.
createTime - Time when the logging configuration was created. This is an ISO 8601 timestamp; note that this is
returned as a string.public void setUpdateTime(Date updateTime)
Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.
updateTime - Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is
returned as a string.public Date getUpdateTime()
Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.
public CreateLoggingConfigurationResult withUpdateTime(Date updateTime)
Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.
updateTime - Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is
returned as a string.public void setName(String name)
Logging-configuration name, from the request (if specified).
name - Logging-configuration name, from the request (if specified).public String getName()
Logging-configuration name, from the request (if specified).
public CreateLoggingConfigurationResult withName(String name)
Logging-configuration name, from the request (if specified).
name - Logging-configuration name, from the request (if specified).public void setDestinationConfiguration(DestinationConfiguration destinationConfiguration)
A complex type that contains a destination configuration for where chat content will be logged, from the request.
There is only one type of destination (cloudWatchLogs, firehose, or s3) in
a destinationConfiguration.
destinationConfiguration - A complex type that contains a destination configuration for where chat content will be logged, from the
request. There is only one type of destination (cloudWatchLogs, firehose, or
s3) in a destinationConfiguration.public DestinationConfiguration getDestinationConfiguration()
A complex type that contains a destination configuration for where chat content will be logged, from the request.
There is only one type of destination (cloudWatchLogs, firehose, or s3) in
a destinationConfiguration.
cloudWatchLogs, firehose, or
s3) in a destinationConfiguration.public CreateLoggingConfigurationResult withDestinationConfiguration(DestinationConfiguration destinationConfiguration)
A complex type that contains a destination configuration for where chat content will be logged, from the request.
There is only one type of destination (cloudWatchLogs, firehose, or s3) in
a destinationConfiguration.
destinationConfiguration - A complex type that contains a destination configuration for where chat content will be logged, from the
request. There is only one type of destination (cloudWatchLogs, firehose, or
s3) in a destinationConfiguration.public void setState(String state)
The state of the logging configuration. When the state is ACTIVE, the configuration is ready to log
chat content.
state - The state of the logging configuration. When the state is ACTIVE, the configuration is ready
to log chat content.CreateLoggingConfigurationStatepublic String getState()
The state of the logging configuration. When the state is ACTIVE, the configuration is ready to log
chat content.
ACTIVE, the configuration is ready
to log chat content.CreateLoggingConfigurationStatepublic CreateLoggingConfigurationResult withState(String state)
The state of the logging configuration. When the state is ACTIVE, the configuration is ready to log
chat content.
state - The state of the logging configuration. When the state is ACTIVE, the configuration is ready
to log chat content.CreateLoggingConfigurationStatepublic CreateLoggingConfigurationResult withState(CreateLoggingConfigurationState state)
The state of the logging configuration. When the state is ACTIVE, the configuration is ready to log
chat content.
state - The state of the logging configuration. When the state is ACTIVE, the configuration is ready
to log chat content.CreateLoggingConfigurationStatepublic Map<String,String> getTags()
Tags attached to the resource, from the request (if specified). Array of maps, each of the form
string:string (key:value).
string:string (key:value).public void setTags(Map<String,String> tags)
Tags attached to the resource, from the request (if specified). Array of maps, each of the form
string:string (key:value).
tags - Tags attached to the resource, from the request (if specified). Array of maps, each of the form
string:string (key:value).public CreateLoggingConfigurationResult withTags(Map<String,String> tags)
Tags attached to the resource, from the request (if specified). Array of maps, each of the form
string:string (key:value).
tags - Tags attached to the resource, from the request (if specified). Array of maps, each of the form
string:string (key:value).public CreateLoggingConfigurationResult addTagsEntry(String key, String value)
public CreateLoggingConfigurationResult clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateLoggingConfigurationResult clone()