Class ResolvedArtifact
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.ResolvedArtifact
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResolvedArtifact.Builder,ResolvedArtifact>
@Generated("software.amazon.awssdk:codegen") public final class ResolvedArtifact extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResolvedArtifact.Builder,ResolvedArtifact>
Represents a resolved build artifact. A resolved artifact is an artifact that is built and deployed to the destination, such as Amazon S3.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResolvedArtifact.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResolvedArtifact.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringidentifier()The identifier of the artifact.Stringlocation()The location of the artifact.List<SdkField<?>>sdkFields()static Class<? extends ResolvedArtifact.Builder>serializableBuilderClass()ResolvedArtifact.BuildertoBuilder()StringtoString()Returns a string representation of this object.ArtifactsTypetype()Specifies the type of artifact.StringtypeAsString()Specifies the type of artifact.-
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
-
type
public final ArtifactsType type()
Specifies the type of artifact.
If the service returns an enum value that is not available in the current SDK version,
typewill returnArtifactsType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specifies the type of artifact.
- See Also:
ArtifactsType
-
typeAsString
public final String typeAsString()
Specifies the type of artifact.
If the service returns an enum value that is not available in the current SDK version,
typewill returnArtifactsType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specifies the type of artifact.
- See Also:
ArtifactsType
-
location
public final String location()
The location of the artifact.
- Returns:
- The location of the artifact.
-
identifier
public final String identifier()
The identifier of the artifact.
- Returns:
- The identifier of the artifact.
-
toBuilder
public ResolvedArtifact.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResolvedArtifact.Builder,ResolvedArtifact>
-
builder
public static ResolvedArtifact.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResolvedArtifact.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.
-
-