@Generated(value="software.amazon.awssdk:codegen") public final class CloudWatchLogsConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CloudWatchLogsConfig.Builder,CloudWatchLogsConfig>
Information about Amazon CloudWatch Logs for a build project.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CloudWatchLogsConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CloudWatchLogsConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
groupName()
The group name of the logs in Amazon CloudWatch Logs.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CloudWatchLogsConfig.Builder> |
serializableBuilderClass() |
LogsConfigStatusType |
status()
The current status of the logs in Amazon CloudWatch Logs for a build project.
|
String |
statusAsString()
The current status of the logs in Amazon CloudWatch Logs for a build project.
|
String |
streamName()
The prefix of the stream name of the Amazon CloudWatch Logs.
|
CloudWatchLogsConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
If the service returns an enum value that is not available in the current SDK version, status will
return LogsConfigStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ENABLED: Amazon CloudWatch Logs are enabled for this build project.
DISABLED: Amazon CloudWatch Logs are not enabled for this build project.
LogsConfigStatusTypepublic final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, status will
return LogsConfigStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ENABLED: Amazon CloudWatch Logs are enabled for this build project.
DISABLED: Amazon CloudWatch Logs are not enabled for this build project.
LogsConfigStatusTypepublic final String groupName()
The group name of the logs in Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
public final String streamName()
The prefix of the stream name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
public CloudWatchLogsConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CloudWatchLogsConfig.Builder,CloudWatchLogsConfig>public static CloudWatchLogsConfig.Builder builder()
public static Class<? extends CloudWatchLogsConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.