Class ArtifactLocation
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.ArtifactLocation
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ArtifactLocation extends Object implements Serializable, Cloneable
Represents information about the location of an artifact.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArtifactLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtifactLocationclone()booleanequals(Object obj)S3ArtifactLocationgetS3Location()The Amazon S3 bucket that contains the artifact.StringgetType()The type of artifact in the location.inthashCode()voidsetS3Location(S3ArtifactLocation s3Location)The Amazon S3 bucket that contains the artifact.voidsetType(ArtifactLocationType type)The type of artifact in the location.voidsetType(String type)The type of artifact in the location.StringtoString()Returns a string representation of this object; useful for testing and debugging.ArtifactLocationwithS3Location(S3ArtifactLocation s3Location)The Amazon S3 bucket that contains the artifact.ArtifactLocationwithType(ArtifactLocationType type)The type of artifact in the location.ArtifactLocationwithType(String type)The type of artifact in the location.
-
-
-
Method Detail
-
setType
public void setType(String type)
The type of artifact in the location.
- Parameters:
type- The type of artifact in the location.- See Also:
ArtifactLocationType
-
getType
public String getType()
The type of artifact in the location.
- Returns:
- The type of artifact in the location.
- See Also:
ArtifactLocationType
-
withType
public ArtifactLocation withType(String type)
The type of artifact in the location.
- Parameters:
type- The type of artifact in the location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ArtifactLocationType
-
setType
public void setType(ArtifactLocationType type)
The type of artifact in the location.
- Parameters:
type- The type of artifact in the location.- See Also:
ArtifactLocationType
-
withType
public ArtifactLocation withType(ArtifactLocationType type)
The type of artifact in the location.
- Parameters:
type- The type of artifact in the location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ArtifactLocationType
-
setS3Location
public void setS3Location(S3ArtifactLocation s3Location)
The Amazon S3 bucket that contains the artifact.
- Parameters:
s3Location- The Amazon S3 bucket that contains the artifact.
-
getS3Location
public S3ArtifactLocation getS3Location()
The Amazon S3 bucket that contains the artifact.
- Returns:
- The Amazon S3 bucket that contains the artifact.
-
withS3Location
public ArtifactLocation withS3Location(S3ArtifactLocation s3Location)
The Amazon S3 bucket that contains the artifact.
- Parameters:
s3Location- The Amazon S3 bucket that contains the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ArtifactLocation clone()
-
-