Class LogsLocation
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.LogsLocation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LogsLocation.Builder,LogsLocation>
@Generated("software.amazon.awssdk:codegen") public final class LogsLocation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogsLocation.Builder,LogsLocation>
Information about build logs in CloudWatch Logs.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLogsLocation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogsLocation.Builderbuilder()CloudWatchLogsConfigcloudWatchLogs()Information about CloudWatch Logs for a build project.StringcloudWatchLogsArn()The ARN of the CloudWatch Logs stream for a build execution.StringdeepLink()The URL to an individual build log in CloudWatch Logs.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgroupName()The name of the CloudWatch Logs group for the build logs.inthashCode()Strings3DeepLink()The URL to a build log in an S3 bucket.S3LogsConfigs3Logs()Information about S3 logs for a build project.Strings3LogsArn()The ARN of S3 logs for a build project.List<SdkField<?>>sdkFields()static Class<? extends LogsLocation.Builder>serializableBuilderClass()StringstreamName()The name of the CloudWatch Logs stream for the build logs.LogsLocation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
groupName
public final String groupName()
The name of the CloudWatch Logs group for the build logs.
- Returns:
- The name of the CloudWatch Logs group for the build logs.
-
streamName
public final String streamName()
The name of the CloudWatch Logs stream for the build logs.
- Returns:
- The name of the CloudWatch Logs stream for the build logs.
-
deepLink
public final String deepLink()
The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING phase of a build and the
deeplinkwill not be valid until it is created.- Returns:
- The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING
phase of a build and the
deeplinkwill not be valid until it is created.
-
s3DeepLink
public final String s3DeepLink()
The URL to a build log in an S3 bucket.
- Returns:
- The URL to a build log in an S3 bucket.
-
cloudWatchLogsArn
public final String cloudWatchLogsArn()
The ARN of the CloudWatch Logs stream for a build execution. Its format is
arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}. The CloudWatch Logs stream is created during the PROVISIONING phase of a build and the ARN will not be valid until it is created. For more information, see Resources Defined by CloudWatch Logs.- Returns:
- The ARN of the CloudWatch Logs stream for a build execution. Its format is
arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}. The CloudWatch Logs stream is created during the PROVISIONING phase of a build and the ARN will not be valid until it is created. For more information, see Resources Defined by CloudWatch Logs.
-
s3LogsArn
public final String s3LogsArn()
The ARN of S3 logs for a build project. Its format is
arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more information, see Resources Defined by Amazon S3.- Returns:
- The ARN of S3 logs for a build project. Its format is
arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more information, see Resources Defined by Amazon S3.
-
cloudWatchLogs
public final CloudWatchLogsConfig cloudWatchLogs()
Information about CloudWatch Logs for a build project.
- Returns:
- Information about CloudWatch Logs for a build project.
-
s3Logs
public final S3LogsConfig s3Logs()
Information about S3 logs for a build project.
- Returns:
- Information about S3 logs for a build project.
-
toBuilder
public LogsLocation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LogsLocation.Builder,LogsLocation>
-
builder
public static LogsLocation.Builder builder()
-
serializableBuilderClass
public static Class<? extends LogsLocation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-