Class ArtifactStore
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.ArtifactStore
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ArtifactStore extends Object implements Serializable, Cloneable
The Amazon S3 location where artifacts are stored for the pipeline. If this Amazon S3 bucket is created manually, it must meet the requirements for AWS CodePipeline. For more information, see the Concepts.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArtifactStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtifactStoreclone()booleanequals(Object obj)EncryptionKeygetEncryptionKey()The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.StringgetLocation()The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.StringgetType()The type of the artifact store, such as S3.inthashCode()voidsetEncryptionKey(EncryptionKey encryptionKey)The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.voidsetLocation(String location)The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.voidsetType(ArtifactStoreType type)The type of the artifact store, such as S3.voidsetType(String type)The type of the artifact store, such as S3.StringtoString()Returns a string representation of this object; useful for testing and debugging.ArtifactStorewithEncryptionKey(EncryptionKey encryptionKey)The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.ArtifactStorewithLocation(String location)The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.ArtifactStorewithType(ArtifactStoreType type)The type of the artifact store, such as S3.ArtifactStorewithType(String type)The type of the artifact store, such as S3.
-
-
-
Method Detail
-
setType
public void setType(String type)
The type of the artifact store, such as S3.
- Parameters:
type- The type of the artifact store, such as S3.- See Also:
ArtifactStoreType
-
getType
public String getType()
The type of the artifact store, such as S3.
- Returns:
- The type of the artifact store, such as S3.
- See Also:
ArtifactStoreType
-
withType
public ArtifactStore withType(String type)
The type of the artifact store, such as S3.
- Parameters:
type- The type of the artifact store, such as S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ArtifactStoreType
-
setType
public void setType(ArtifactStoreType type)
The type of the artifact store, such as S3.
- Parameters:
type- The type of the artifact store, such as S3.- See Also:
ArtifactStoreType
-
withType
public ArtifactStore withType(ArtifactStoreType type)
The type of the artifact store, such as S3.
- Parameters:
type- The type of the artifact store, such as S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ArtifactStoreType
-
setLocation
public void setLocation(String location)
The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.
- Parameters:
location- The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.
-
getLocation
public String getLocation()
The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.
- Returns:
- The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.
-
withLocation
public ArtifactStore withLocation(String location)
The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.
- Parameters:
location- The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEncryptionKey
public void setEncryptionKey(EncryptionKey encryptionKey)
The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If this is undefined, the default key for Amazon S3 is used.
- Parameters:
encryptionKey- The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If this is undefined, the default key for Amazon S3 is used.
-
getEncryptionKey
public EncryptionKey getEncryptionKey()
The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If this is undefined, the default key for Amazon S3 is used.
- Returns:
- The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If this is undefined, the default key for Amazon S3 is used.
-
withEncryptionKey
public ArtifactStore withEncryptionKey(EncryptionKey encryptionKey)
The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If this is undefined, the default key for Amazon S3 is used.
- Parameters:
encryptionKey- The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If this is undefined, the default key for Amazon S3 is used.- 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 ArtifactStore clone()
-
-