@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
LogsConfigStatusType
public 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.
LogsConfigStatusType
public String groupName()
The group name of the logs in Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CloudWatchLogsConfig.Builder,CloudWatchLogsConfig>
public static CloudWatchLogsConfig.Builder builder()
public static Class<? extends CloudWatchLogsConfig.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.