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 ArtifactStore
clone()
boolean
equals(Object obj)
EncryptionKey
getEncryptionKey()
The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.String
getLocation()
The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.String
getType()
The type of the artifact store, such as S3.int
hashCode()
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.void
setLocation(String location)
The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.void
setType(ArtifactStoreType type)
The type of the artifact store, such as S3.void
setType(String type)
The type of the artifact store, such as S3.String
toString()
Returns a string representation of this object; useful for testing and debugging.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.ArtifactStore
withLocation(String location)
The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.ArtifactStore
withType(ArtifactStoreType type)
The type of the artifact store, such as S3.ArtifactStore
withType(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ArtifactStore clone()
-
-