public class ArtifactLocation extends Object implements Serializable, Cloneable
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 Amazon S3 bucket that contains the artifact.
|
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(String type)
The type of artifact in the location.
|
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(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.ArtifactLocationTypepublic String getType()
The type of artifact in the location.
ArtifactLocationTypepublic ArtifactLocation withType(String type)
The type of artifact in the location.
type - The type of artifact in the location.ArtifactLocationTypepublic void setType(ArtifactLocationType type)
The type of artifact in the location.
type - The type of artifact in the location.ArtifactLocationTypepublic ArtifactLocation withType(ArtifactLocationType type)
The type of artifact in the location.
type - The type of artifact in the location.ArtifactLocationTypepublic 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 String toString()
toString in class ObjectObject.toString()public ArtifactLocation clone()
Copyright © 2017. All rights reserved.