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