Class ArtifactStore
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.ArtifactStore
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ArtifactStore.Builder,ArtifactStore>
@Generated("software.amazon.awssdk:codegen") public final class ArtifactStore extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ArtifactStore.Builder,ArtifactStore>
The S3 bucket where artifacts for the pipeline are stored.
You must include either
artifactStoreorartifactStoresin your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceArtifactStore.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ArtifactStore.Builderbuilder()EncryptionKeyencryptionKey()The encryption key used to encrypt the data in the artifact store, such as an Amazon Web Services Key Management Service key.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlocation()The S3 bucket used for storing the artifacts for a pipeline.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ArtifactStore.Builder>serializableBuilderClass()ArtifactStore.BuildertoBuilder()StringtoString()Returns a string representation of this object.ArtifactStoreTypetype()The type of the artifact store, such as S3.StringtypeAsString()The type of the artifact store, such as S3.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
type
public final ArtifactStoreType type()
The type of the artifact store, such as S3.
If the service returns an enum value that is not available in the current SDK version,
typewill returnArtifactStoreType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the artifact store, such as S3.
- See Also:
ArtifactStoreType
-
typeAsString
public final String typeAsString()
The type of the artifact store, such as S3.
If the service returns an enum value that is not available in the current SDK version,
typewill returnArtifactStoreType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the artifact store, such as S3.
- See Also:
ArtifactStoreType
-
location
public final String location()
The S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3 bucket but not a folder in the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any S3 bucket in the same Amazon Web Services Region as the pipeline to store your pipeline artifacts.
- Returns:
- The S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3 bucket but not a folder in the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any S3 bucket in the same Amazon Web Services Region as the pipeline to store your pipeline artifacts.
-
encryptionKey
public final EncryptionKey encryptionKey()
The encryption key used to encrypt the data in the artifact store, such as an Amazon Web Services Key Management Service 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 Amazon Web Services Key Management Service key. If this is undefined, the default key for Amazon S3 is used.
-
toBuilder
public ArtifactStore.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ArtifactStore.Builder,ArtifactStore>
-
builder
public static ArtifactStore.Builder builder()
-
serializableBuilderClass
public static Class<? extends ArtifactStore.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-