public class ArtifactLocation
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents information about the location of an artifact.
Modifier and Type | Field and Description |
---|---|
private S3ArtifactLocation |
s3Location
The Amazon S3 bucket that contains the artifact.
|
private java.lang.String |
type
The type of artifact in the location.
|
Constructor and Description |
---|
ArtifactLocation() |
Modifier and Type | Method and Description |
---|---|
ArtifactLocation |
clone() |
boolean |
equals(java.lang.Object obj) |
S3ArtifactLocation |
getS3Location()
The Amazon S3 bucket that contains the artifact.
|
java.lang.String |
getType()
The type of artifact in the location.
|
int |
hashCode() |
void |
setS3Location(S3ArtifactLocation s3Location)
The Amazon S3 bucket that contains the artifact.
|
void |
setType(ArtifactLocationType type)
The type of artifact in the location.
|
void |
setType(java.lang.String type)
The type of artifact in the location.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ArtifactLocation |
withS3Location(S3ArtifactLocation s3Location)
The Amazon S3 bucket that contains the artifact.
|
ArtifactLocation |
withType(ArtifactLocationType type)
The type of artifact in the location.
|
ArtifactLocation |
withType(java.lang.String type)
The type of artifact in the location.
|
private java.lang.String type
The type of artifact in the location.
private S3ArtifactLocation s3Location
The Amazon S3 bucket that contains the artifact.
public void setType(java.lang.String type)
The type of artifact in the location.
type
- The type of artifact in the location.ArtifactLocationType
public java.lang.String getType()
The type of artifact in the location.
ArtifactLocationType
public ArtifactLocation withType(java.lang.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 Amazon S3 bucket that contains the artifact.
s3Location
- The Amazon S3 bucket that contains the artifact.public S3ArtifactLocation getS3Location()
The Amazon S3 bucket that contains the artifact.
public ArtifactLocation withS3Location(S3ArtifactLocation s3Location)
The Amazon S3 bucket that contains the artifact.
s3Location
- The Amazon S3 bucket that contains the artifact.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ArtifactLocation clone()
clone
in class java.lang.Object