Class BuildArtifacts
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.BuildArtifacts
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BuildArtifacts.Builder,BuildArtifacts>
@Generated("software.amazon.awssdk:codegen") public final class BuildArtifacts extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BuildArtifacts.Builder,BuildArtifacts>
Information about build output artifacts.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBuildArtifacts.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringartifactIdentifier()An identifier for this artifact definition.BucketOwnerAccessbucketOwnerAccess()Returns the value of the BucketOwnerAccess property for this object.StringbucketOwnerAccessAsString()Returns the value of the BucketOwnerAccess property for this object.static BuildArtifacts.Builderbuilder()BooleanencryptionDisabled()Information that tells you if encryption for build artifacts is disabled.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlocation()Information about the location of the build artifacts.Stringmd5sum()The MD5 hash of the build artifact.BooleanoverrideArtifactName()If this flag is set, a name specified in the buildspec file overrides the artifact name.List<SdkField<?>>sdkFields()static Class<? extends BuildArtifacts.Builder>serializableBuilderClass()Stringsha256sum()The SHA-256 hash of the build artifact.BuildArtifacts.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
-
location
public final String location()
Information about the location of the build artifacts.
- Returns:
- Information about the location of the build artifacts.
-
sha256sum
public final String sha256sum()
The SHA-256 hash of the build artifact.
You can use this hash along with a checksum tool to confirm file integrity and authenticity.
This value is available only if the build project's
packagingvalue is set toZIP.- Returns:
- The SHA-256 hash of the build artifact.
You can use this hash along with a checksum tool to confirm file integrity and authenticity.
This value is available only if the build project's
packagingvalue is set toZIP.
-
md5sum
public final String md5sum()
The MD5 hash of the build artifact.
You can use this hash along with a checksum tool to confirm file integrity and authenticity.
This value is available only if the build project's
packagingvalue is set toZIP.- Returns:
- The MD5 hash of the build artifact.
You can use this hash along with a checksum tool to confirm file integrity and authenticity.
This value is available only if the build project's
packagingvalue is set toZIP.
-
overrideArtifactName
public final Boolean overrideArtifactName()
If this flag is set, a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell Command Language. For example, you can append a date and time to your artifact name so that it is always unique.
- Returns:
- If this flag is set, a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell Command Language. For example, you can append a date and time to your artifact name so that it is always unique.
-
encryptionDisabled
public final Boolean encryptionDisabled()
Information that tells you if encryption for build artifacts is disabled.
- Returns:
- Information that tells you if encryption for build artifacts is disabled.
-
artifactIdentifier
public final String artifactIdentifier()
An identifier for this artifact definition.
- Returns:
- An identifier for this artifact definition.
-
bucketOwnerAccess
public final BucketOwnerAccess bucketOwnerAccess()
Returns the value of the BucketOwnerAccess property for this object.If the service returns an enum value that is not available in the current SDK version,
bucketOwnerAccesswill returnBucketOwnerAccess.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombucketOwnerAccessAsString().- Returns:
- The value of the BucketOwnerAccess property for this object.
- See Also:
BucketOwnerAccess
-
bucketOwnerAccessAsString
public final String bucketOwnerAccessAsString()
Returns the value of the BucketOwnerAccess property for this object.If the service returns an enum value that is not available in the current SDK version,
bucketOwnerAccesswill returnBucketOwnerAccess.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombucketOwnerAccessAsString().- Returns:
- The value of the BucketOwnerAccess property for this object.
- See Also:
BucketOwnerAccess
-
toBuilder
public BuildArtifacts.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BuildArtifacts.Builder,BuildArtifacts>
-
builder
public static BuildArtifacts.Builder builder()
-
serializableBuilderClass
public static Class<? extends BuildArtifacts.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.
-
-