@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchLogsConfig extends Object implements Serializable, Cloneable, StructuredPojo
Information about Amazon CloudWatch Logs for a build project.
Constructor and Description |
---|
CloudWatchLogsConfig() |
Modifier and Type | Method and Description |
---|---|
CloudWatchLogsConfig |
clone() |
boolean |
equals(Object obj) |
String |
getGroupName()
The group name of the logs in Amazon CloudWatch Logs.
|
String |
getStatus()
The current status of the logs in Amazon CloudWatch Logs for a build project.
|
String |
getStreamName()
The prefix of the stream name of the Amazon CloudWatch Logs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroupName(String groupName)
The group name of the logs in Amazon CloudWatch Logs.
|
void |
setStatus(String status)
The current status of the logs in Amazon CloudWatch Logs for a build project.
|
void |
setStreamName(String streamName)
The prefix of the stream name of the Amazon CloudWatch Logs.
|
String |
toString()
Returns a string representation of this object.
|
CloudWatchLogsConfig |
withGroupName(String groupName)
The group name of the logs in Amazon CloudWatch Logs.
|
CloudWatchLogsConfig |
withStatus(LogsConfigStatusType status)
The current status of the logs in Amazon CloudWatch Logs for a build project.
|
CloudWatchLogsConfig |
withStatus(String status)
The current status of the logs in Amazon CloudWatch Logs for a build project.
|
CloudWatchLogsConfig |
withStreamName(String streamName)
The prefix of the stream name of the Amazon CloudWatch Logs.
|
public void setStatus(String status)
The current status of the logs in Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED
: Amazon CloudWatch Logs are enabled for this build project.
DISABLED
: Amazon CloudWatch Logs are not enabled for this build project.
status
- The current status of the logs in Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED
: Amazon CloudWatch Logs are enabled for this build project.
DISABLED
: Amazon CloudWatch Logs are not enabled for this build project.
LogsConfigStatusType
public String getStatus()
The current status of the logs in Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED
: Amazon CloudWatch Logs are enabled for this build project.
DISABLED
: Amazon CloudWatch Logs are not enabled for this build project.
ENABLED
: Amazon CloudWatch Logs are enabled for this build project.
DISABLED
: Amazon CloudWatch Logs are not enabled for this build project.
LogsConfigStatusType
public CloudWatchLogsConfig withStatus(String status)
The current status of the logs in Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED
: Amazon CloudWatch Logs are enabled for this build project.
DISABLED
: Amazon CloudWatch Logs are not enabled for this build project.
status
- The current status of the logs in Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED
: Amazon CloudWatch Logs are enabled for this build project.
DISABLED
: Amazon CloudWatch Logs are not enabled for this build project.
LogsConfigStatusType
public CloudWatchLogsConfig withStatus(LogsConfigStatusType status)
The current status of the logs in Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED
: Amazon CloudWatch Logs are enabled for this build project.
DISABLED
: Amazon CloudWatch Logs are not enabled for this build project.
status
- The current status of the logs in Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED
: Amazon CloudWatch Logs are enabled for this build project.
DISABLED
: Amazon CloudWatch Logs are not enabled for this build project.
LogsConfigStatusType
public void setGroupName(String groupName)
The group name of the logs in Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
groupName
- The group name of the logs in Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.public String getGroupName()
The group name of the logs in Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
public CloudWatchLogsConfig withGroupName(String groupName)
The group name of the logs in Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
groupName
- The group name of the logs in Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.public void setStreamName(String streamName)
The prefix of the stream name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
streamName
- The prefix of the stream name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.public String getStreamName()
The prefix of the stream name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
public CloudWatchLogsConfig withStreamName(String streamName)
The prefix of the stream name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
streamName
- The prefix of the stream name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.public String toString()
toString
in class Object
Object.toString()
public CloudWatchLogsConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.