@Generated(value="software.amazon.awssdk:codegen") public final class ArtifactLocation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ArtifactLocation.Builder,ArtifactLocation>
Represents information about the location of an artifact.
Modifier and Type | Class and Description |
---|---|
static interface |
ArtifactLocation.Builder |
Modifier and Type | Method and Description |
---|---|
static ArtifactLocation.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
S3ArtifactLocation |
s3Location()
The Amazon S3 bucket that contains the artifact.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ArtifactLocation.Builder> |
serializableBuilderClass() |
ArtifactLocation.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
ArtifactLocationType |
type()
The type of artifact in the location.
|
String |
typeAsString()
The type of artifact in the location.
|
copy
public ArtifactLocationType type()
The type of artifact in the location.
If the service returns an enum value that is not available in the current SDK version, type
will return
ArtifactLocationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
ArtifactLocationType
public String typeAsString()
The type of artifact in the location.
If the service returns an enum value that is not available in the current SDK version, type
will return
ArtifactLocationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
ArtifactLocationType
public S3ArtifactLocation s3Location()
The Amazon S3 bucket that contains the artifact.
public ArtifactLocation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ArtifactLocation.Builder,ArtifactLocation>
public static ArtifactLocation.Builder builder()
public static Class<? extends ArtifactLocation.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.