Interface JobData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobData.Builder,
,JobData> SdkBuilder<JobData.Builder,
,JobData> SdkPojo
- Enclosing class:
JobData
-
Method Summary
Modifier and TypeMethodDescriptiondefault JobData.Builder
actionConfiguration
(Consumer<ActionConfiguration.Builder> actionConfiguration) Represents information about an action configuration.actionConfiguration
(ActionConfiguration actionConfiguration) Represents information about an action configuration.default JobData.Builder
actionTypeId
(Consumer<ActionTypeId.Builder> actionTypeId) Represents information about an action type.actionTypeId
(ActionTypeId actionTypeId) Represents information about an action type.default JobData.Builder
artifactCredentials
(Consumer<AWSSessionCredentials.Builder> artifactCredentials) Represents an Amazon Web Services session credentials object.artifactCredentials
(AWSSessionCredentials artifactCredentials) Represents an Amazon Web Services session credentials object.continuationToken
(String continuationToken) A system-generated token, such as a deployment ID, required by a job 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 KMS key.encryptionKey
(EncryptionKey encryptionKey) Represents information about the key used to encrypt data in the artifact store, such as an KMS key.inputArtifacts
(Collection<Artifact> inputArtifacts) The artifact supplied to the job.inputArtifacts
(Consumer<Artifact.Builder>... inputArtifacts) The artifact supplied to the job.inputArtifacts
(Artifact... inputArtifacts) The artifact supplied to the job.outputArtifacts
(Collection<Artifact> outputArtifacts) The output of the job.outputArtifacts
(Consumer<Artifact.Builder>... outputArtifacts) The output of the job.outputArtifacts
(Artifact... outputArtifacts) The output of the job.default JobData.Builder
pipelineContext
(Consumer<PipelineContext.Builder> pipelineContext) Represents information about a pipeline to a job worker.pipelineContext
(PipelineContext pipelineContext) Represents information about a pipeline to a job worker.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
actionTypeId
Represents information about an action type.
- Parameters:
actionTypeId
- Represents information about an action type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionTypeId
Represents information about an action type.
This is a convenience method that creates an instance of theActionTypeId.Builder
avoiding the need to create one manually viaActionTypeId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionTypeId(ActionTypeId)
.- Parameters:
actionTypeId
- a consumer that will call methods onActionTypeId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actionConfiguration
Represents information about an action configuration.
- Parameters:
actionConfiguration
- Represents information about an action configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionConfiguration
default JobData.Builder actionConfiguration(Consumer<ActionConfiguration.Builder> actionConfiguration) Represents information about an action configuration.
This is a convenience method that creates an instance of theActionConfiguration.Builder
avoiding the need to create one manually viaActionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionConfiguration(ActionConfiguration)
.- Parameters:
actionConfiguration
- a consumer that will call methods onActionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pipelineContext
Represents information about a pipeline to a job worker.
Includes
pipelineArn
andpipelineExecutionId
for custom jobs.- Parameters:
pipelineContext
- Represents information about a pipeline to a job worker.Includes
pipelineArn
andpipelineExecutionId
for custom jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineContext
Represents information about a pipeline to a job worker.
Includes
pipelineArn
andpipelineExecutionId
for custom jobs.PipelineContext.Builder
avoiding the need to create one manually viaPipelineContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topipelineContext(PipelineContext)
.- Parameters:
pipelineContext
- a consumer that will call methods onPipelineContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputArtifacts
The artifact supplied to the job.
- Parameters:
inputArtifacts
- The artifact supplied to the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputArtifacts
The artifact supplied to the job.
- Parameters:
inputArtifacts
- The artifact supplied to the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputArtifacts
The artifact supplied to the job.
This is a convenience method that creates an instance of theArtifact.Builder
avoiding the need to create one manually viaArtifact.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputArtifacts(List<Artifact>)
.- Parameters:
inputArtifacts
- a consumer that will call methods onArtifact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputArtifacts
The output of the job.
- Parameters:
outputArtifacts
- The output of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputArtifacts
The output of the job.
- Parameters:
outputArtifacts
- The output of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputArtifacts
The output of the job.
This is a convenience method that creates an instance of theArtifact.Builder
avoiding the need to create one manually viaArtifact.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputArtifacts(List<Artifact>)
.- Parameters:
outputArtifacts
- a consumer that will call methods onArtifact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
artifactCredentials
Represents an Amazon Web Services session credentials object. These credentials are temporary credentials that are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifacts for the pipeline in CodePipeline.
- Parameters:
artifactCredentials
- Represents an Amazon Web Services session credentials object. These credentials are temporary credentials that are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifacts for the pipeline in CodePipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactCredentials
default JobData.Builder artifactCredentials(Consumer<AWSSessionCredentials.Builder> artifactCredentials) Represents an Amazon Web Services session credentials object. These credentials are temporary credentials that are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifacts for the pipeline in CodePipeline.
This is a convenience method that creates an instance of theAWSSessionCredentials.Builder
avoiding the need to create one manually viaAWSSessionCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toartifactCredentials(AWSSessionCredentials)
.- Parameters:
artifactCredentials
- a consumer that will call methods onAWSSessionCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
continuationToken
A system-generated token, such as a deployment ID, required by a job to continue the job asynchronously.
- Parameters:
continuationToken
- A system-generated token, such as a deployment ID, required by a job to continue the job asynchronously.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKey
Represents information about the key used to encrypt data in the artifact store, such as an KMS key.
- Parameters:
encryptionKey
- Represents information about the key used to encrypt data in the artifact store, such as an KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKey
Represents information about the key used to encrypt data in the artifact store, such as an KMS key.
This is a convenience method that creates an instance of theEncryptionKey.Builder
avoiding the need to create one manually viaEncryptionKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionKey(EncryptionKey)
.- Parameters:
encryptionKey
- a consumer that will call methods onEncryptionKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-