@Generated(value="software.amazon.awssdk:codegen") public final class AwsCodeBuildProjectDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsCodeBuildProjectDetails.Builder,AwsCodeBuildProjectDetails>
Information about an CodeBuild project.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsCodeBuildProjectDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AwsCodeBuildProjectArtifactsDetails> |
artifacts()
Information about the build artifacts for the CodeBuild project.
|
static AwsCodeBuildProjectDetails.Builder |
builder() |
String |
encryptionKey()
The KMS key used to encrypt the build output artifacts.
|
AwsCodeBuildProjectEnvironment |
environment()
Information about the build environment for this build project.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasArtifacts()
For responses, this returns true if the service returned a value for the Artifacts property.
|
int |
hashCode() |
boolean |
hasSecondaryArtifacts()
For responses, this returns true if the service returned a value for the SecondaryArtifacts property.
|
AwsCodeBuildProjectLogsConfigDetails |
logsConfig()
Information about logs for the build project.
|
String |
name()
The name of the build project.
|
List<SdkField<?>> |
sdkFields() |
List<AwsCodeBuildProjectArtifactsDetails> |
secondaryArtifacts()
Information about the secondary artifacts for the CodeBuild project.
|
static Class<? extends AwsCodeBuildProjectDetails.Builder> |
serializableBuilderClass() |
String |
serviceRole()
The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf
of the Amazon Web Services account.
|
AwsCodeBuildProjectSource |
source()
Information about the build input source code for this build project.
|
AwsCodeBuildProjectDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AwsCodeBuildProjectVpcConfig |
vpcConfig()
Information about the VPC configuration that CodeBuild accesses.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String encryptionKey()
The KMS key used to encrypt the build output artifacts.
You can specify either the ARN of the KMS key or, if available, the KMS key alias (using the format alias/alias-name).
You can specify either the ARN of the KMS key or, if available, the KMS key alias (using the format alias/alias-name).
public final boolean hasArtifacts()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<AwsCodeBuildProjectArtifactsDetails> artifacts()
Information about the build artifacts for the CodeBuild project.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasArtifacts() method.
public final AwsCodeBuildProjectEnvironment environment()
Information about the build environment for this build project.
public final String name()
The name of the build project.
public final AwsCodeBuildProjectSource source()
Information about the build input source code for this build project.
public final String serviceRole()
The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.
public final AwsCodeBuildProjectLogsConfigDetails logsConfig()
Information about logs for the build project.
public final AwsCodeBuildProjectVpcConfig vpcConfig()
Information about the VPC configuration that CodeBuild accesses.
public final boolean hasSecondaryArtifacts()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<AwsCodeBuildProjectArtifactsDetails> secondaryArtifacts()
Information about the secondary artifacts for the CodeBuild project.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSecondaryArtifacts() method.
public AwsCodeBuildProjectDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsCodeBuildProjectDetails.Builder,AwsCodeBuildProjectDetails>public static AwsCodeBuildProjectDetails.Builder builder()
public static Class<? extends AwsCodeBuildProjectDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.