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 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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ArtifactLocation clone()
-
-