public static interface JobData.Builder extends CopyableBuilder<JobData.Builder,JobData>
Modifier and Type | Method and Description |
---|---|
JobData.Builder |
actionConfiguration(ActionConfiguration actionConfiguration)
Represents information about an action configuration.
|
default JobData.Builder |
actionConfiguration(Consumer<ActionConfiguration.Builder> actionConfiguration)
Represents information about an action configuration.
|
JobData.Builder |
actionTypeId(ActionTypeId actionTypeId)
Represents information about an action type.
|
default JobData.Builder |
actionTypeId(Consumer<ActionTypeId.Builder> actionTypeId)
Represents information about an action type.
|
JobData.Builder |
artifactCredentials(AWSSessionCredentials artifactCredentials)
Represents an AWS session credentials object.
|
default JobData.Builder |
artifactCredentials(Consumer<AWSSessionCredentials.Builder> artifactCredentials)
Represents an AWS session credentials object.
|
JobData.Builder |
continuationToken(String continuationToken)
A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue
the job asynchronously.
|
default JobData.Builder |
encryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key
Management Service (AWS KMS) key.
|
JobData.Builder |
encryptionKey(EncryptionKey encryptionKey)
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key
Management Service (AWS KMS) key.
|
JobData.Builder |
inputArtifacts(Artifact... inputArtifacts)
The artifact supplied to the job.
|
JobData.Builder |
inputArtifacts(Collection<Artifact> inputArtifacts)
The artifact supplied to the job.
|
JobData.Builder |
outputArtifacts(Artifact... outputArtifacts)
The output of the job.
|
JobData.Builder |
outputArtifacts(Collection<Artifact> outputArtifacts)
The output of the job.
|
default JobData.Builder |
pipelineContext(Consumer<PipelineContext.Builder> pipelineContext)
Represents information about a pipeline to a job worker.
|
JobData.Builder |
pipelineContext(PipelineContext pipelineContext)
Represents information about a pipeline to a job worker.
|
copy
apply, build
JobData.Builder actionTypeId(ActionTypeId actionTypeId)
Represents information about an action type.
actionTypeId
- Represents information about an action type.default JobData.Builder actionTypeId(Consumer<ActionTypeId.Builder> actionTypeId)
Represents information about an action type.
This is a convenience that creates an instance of theActionTypeId.Builder
avoiding the need to
create one manually via ActionTypeId.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to actionTypeId(ActionTypeId)
.actionTypeId
- a consumer that will call methods on ActionTypeId.Builder
actionTypeId(ActionTypeId)
JobData.Builder actionConfiguration(ActionConfiguration actionConfiguration)
Represents information about an action configuration.
actionConfiguration
- Represents information about an action configuration.default JobData.Builder actionConfiguration(Consumer<ActionConfiguration.Builder> actionConfiguration)
Represents information about an action configuration.
This is a convenience that creates an instance of theActionConfiguration.Builder
avoiding the need
to create one manually via ActionConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to actionConfiguration(ActionConfiguration)
.actionConfiguration
- a consumer that will call methods on ActionConfiguration.Builder
actionConfiguration(ActionConfiguration)
JobData.Builder pipelineContext(PipelineContext pipelineContext)
Represents information about a pipeline to a job worker.
pipelineContext
- Represents information about a pipeline to a job worker.default JobData.Builder pipelineContext(Consumer<PipelineContext.Builder> pipelineContext)
Represents information about a pipeline to a job worker.
This is a convenience that creates an instance of thePipelineContext.Builder
avoiding the need to
create one manually via PipelineContext.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to pipelineContext(PipelineContext)
.pipelineContext
- a consumer that will call methods on PipelineContext.Builder
pipelineContext(PipelineContext)
JobData.Builder inputArtifacts(Collection<Artifact> inputArtifacts)
The artifact supplied to the job.
inputArtifacts
- The artifact supplied to the job.JobData.Builder inputArtifacts(Artifact... inputArtifacts)
The artifact supplied to the job.
inputArtifacts
- The artifact supplied to the job.JobData.Builder outputArtifacts(Collection<Artifact> outputArtifacts)
The output of the job.
outputArtifacts
- The output of the job.JobData.Builder outputArtifacts(Artifact... outputArtifacts)
The output of the job.
outputArtifacts
- The output of the job.JobData.Builder artifactCredentials(AWSSessionCredentials artifactCredentials)
Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline.
artifactCredentials
- Represents an AWS session credentials object. These credentials are temporary credentials that are
issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the
Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline.default JobData.Builder artifactCredentials(Consumer<AWSSessionCredentials.Builder> artifactCredentials)
Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline.
This is a convenience that creates an instance of theAWSSessionCredentials.Builder
avoiding the need
to create one manually via AWSSessionCredentials.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to artifactCredentials(AWSSessionCredentials)
.artifactCredentials
- a consumer that will call methods on AWSSessionCredentials.Builder
artifactCredentials(AWSSessionCredentials)
JobData.Builder continuationToken(String continuationToken)
A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue the job asynchronously.
continuationToken
- A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to
continue the job asynchronously.JobData.Builder encryptionKey(EncryptionKey encryptionKey)
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.
encryptionKey
- Represents information about the key used to encrypt data in the artifact store, such as an AWS Key
Management Service (AWS KMS) key.default JobData.Builder encryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.
This is a convenience that creates an instance of theEncryptionKey.Builder
avoiding the need to
create one manually via EncryptionKey.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to encryptionKey(EncryptionKey)
.encryptionKey
- a consumer that will call methods on EncryptionKey.Builder
encryptionKey(EncryptionKey)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.