@Generated(value="software.amazon.awssdk:codegen") public class ArtifactLocation extends Object implements StructuredPojo, 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
S3ArtifactLocation |
s3Location()
The Amazon S3 bucket that contains the artifact.
|
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.
|
copypublic 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().
ArtifactLocationTypepublic 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().
ArtifactLocationTypepublic S3ArtifactLocation s3Location()
The Amazon S3 bucket that contains the artifact.
public ArtifactLocation.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ArtifactLocation.Builder,ArtifactLocation>public static ArtifactLocation.Builder builder()
public static Class<? extends ArtifactLocation.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.