Interface JobData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JobData.Builder,JobData>,SdkBuilder<JobData.Builder,JobData>,SdkPojo
- Enclosing class:
- JobData
public static interface JobData.Builder extends SdkPojo, CopyableBuilder<JobData.Builder,JobData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default JobData.BuilderactionConfiguration(Consumer<ActionConfiguration.Builder> actionConfiguration)Represents information about an action configuration.JobData.BuilderactionConfiguration(ActionConfiguration actionConfiguration)Represents information about an action configuration.default JobData.BuilderactionTypeId(Consumer<ActionTypeId.Builder> actionTypeId)Represents information about an action type.JobData.BuilderactionTypeId(ActionTypeId actionTypeId)Represents information about an action type.default JobData.BuilderartifactCredentials(Consumer<AWSSessionCredentials.Builder> artifactCredentials)Represents an Amazon Web Services session credentials object.JobData.BuilderartifactCredentials(AWSSessionCredentials artifactCredentials)Represents an Amazon Web Services session credentials object.JobData.BuildercontinuationToken(String continuationToken)A system-generated token, such as a deployment ID, required by a job to continue the job asynchronously.default JobData.BuilderencryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)Represents information about the key used to encrypt data in the artifact store, such as an KMS key.JobData.BuilderencryptionKey(EncryptionKey encryptionKey)Represents information about the key used to encrypt data in the artifact store, such as an KMS key.JobData.BuilderinputArtifacts(Collection<Artifact> inputArtifacts)The artifact supplied to the job.JobData.BuilderinputArtifacts(Consumer<Artifact.Builder>... inputArtifacts)The artifact supplied to the job.JobData.BuilderinputArtifacts(Artifact... inputArtifacts)The artifact supplied to the job.JobData.BuilderoutputArtifacts(Collection<Artifact> outputArtifacts)The output of the job.JobData.BuilderoutputArtifacts(Consumer<Artifact.Builder>... outputArtifacts)The output of the job.JobData.BuilderoutputArtifacts(Artifact... outputArtifacts)The output of the job.default JobData.BuilderpipelineContext(Consumer<PipelineContext.Builder> pipelineContext)Represents information about a pipeline to a job worker.JobData.BuilderpipelineContext(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
actionTypeId
JobData.Builder actionTypeId(ActionTypeId 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
default JobData.Builder actionTypeId(Consumer<ActionTypeId.Builder> actionTypeId)
Represents information about an action type.
This is a convenience method that creates an instance of theActionTypeId.Builderavoiding the need to create one manually viaActionTypeId.builder().When the
Consumercompletes,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:
actionTypeId(ActionTypeId)
-
actionConfiguration
JobData.Builder actionConfiguration(ActionConfiguration 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.Builderavoiding the need to create one manually viaActionConfiguration.builder().When the
Consumercompletes,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:
actionConfiguration(ActionConfiguration)
-
pipelineContext
JobData.Builder pipelineContext(PipelineContext pipelineContext)
Represents information about a pipeline to a job worker.
Includes
pipelineArnandpipelineExecutionIdfor custom jobs.- Parameters:
pipelineContext- Represents information about a pipeline to a job worker.Includes
pipelineArnandpipelineExecutionIdfor custom jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineContext
default JobData.Builder pipelineContext(Consumer<PipelineContext.Builder> pipelineContext)
Represents information about a pipeline to a job worker.
This is a convenience method that creates an instance of theIncludes
pipelineArnandpipelineExecutionIdfor custom jobs.PipelineContext.Builderavoiding the need to create one manually viaPipelineContext.builder().When the
Consumercompletes,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:
pipelineContext(PipelineContext)
-
inputArtifacts
JobData.Builder inputArtifacts(Collection<Artifact> 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
JobData.Builder inputArtifacts(Artifact... 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
JobData.Builder inputArtifacts(Consumer<Artifact.Builder>... inputArtifacts)
The artifact supplied to the job.
This is a convenience method that creates an instance of theArtifact.Builderavoiding the need to create one manually viaArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#inputArtifacts(List.) - 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:
#inputArtifacts(java.util.Collection)
-
outputArtifacts
JobData.Builder outputArtifacts(Collection<Artifact> 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
JobData.Builder outputArtifacts(Artifact... 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
JobData.Builder outputArtifacts(Consumer<Artifact.Builder>... outputArtifacts)
The output of the job.
This is a convenience method that creates an instance of theArtifact.Builderavoiding the need to create one manually viaArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputArtifacts(List.) - 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:
#outputArtifacts(java.util.Collection)
-
artifactCredentials
JobData.Builder artifactCredentials(AWSSessionCredentials 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.Builderavoiding the need to create one manually viaAWSSessionCredentials.builder().When the
Consumercompletes,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:
artifactCredentials(AWSSessionCredentials)
-
continuationToken
JobData.Builder continuationToken(String 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
JobData.Builder encryptionKey(EncryptionKey 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
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.
This is a convenience method that creates an instance of theEncryptionKey.Builderavoiding the need to create one manually viaEncryptionKey.builder().When the
Consumercompletes,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:
encryptionKey(EncryptionKey)
-
-