@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ArtifactLocation extends Object implements Serializable, Cloneable, StructuredPojo
Represents information about the location of an artifact.
Constructor and Description |
---|
ArtifactLocation() |
Modifier and Type | Method and Description |
---|---|
ArtifactLocation |
clone() |
boolean |
equals(Object obj) |
S3ArtifactLocation |
getS3Location()
The S3 bucket that contains the artifact.
|
String |
getType()
The type of artifact in the location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setS3Location(S3ArtifactLocation s3Location)
The S3 bucket that contains the artifact.
|
void |
setType(ArtifactLocationType type)
The type of artifact in the location.
|
void |
setType(String type)
The type of artifact in the location.
|
String |
toString()
Returns a string representation of this object.
|
ArtifactLocation |
withS3Location(S3ArtifactLocation s3Location)
The S3 bucket that contains the artifact.
|
ArtifactLocation |
withType(ArtifactLocationType type)
The type of artifact in the location.
|
ArtifactLocation |
withType(String type)
The type of artifact in the location.
|
public void setType(String type)
The type of artifact in the location.
type
- The type of artifact in the location.ArtifactLocationType
public String getType()
The type of artifact in the location.
ArtifactLocationType
public ArtifactLocation withType(String type)
The type of artifact in the location.
type
- The type of artifact in the location.ArtifactLocationType
public void setType(ArtifactLocationType type)
The type of artifact in the location.
type
- The type of artifact in the location.ArtifactLocationType
public ArtifactLocation withType(ArtifactLocationType type)
The type of artifact in the location.
type
- The type of artifact in the location.ArtifactLocationType
public void setS3Location(S3ArtifactLocation s3Location)
The S3 bucket that contains the artifact.
s3Location
- The S3 bucket that contains the artifact.public S3ArtifactLocation getS3Location()
The S3 bucket that contains the artifact.
public ArtifactLocation withS3Location(S3ArtifactLocation s3Location)
The S3 bucket that contains the artifact.
s3Location
- The S3 bucket that contains the artifact.public String toString()
toString
in class Object
Object.toString()
public ArtifactLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.