Interface JobDetailsEntity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JobDetailsEntity.Builder,JobDetailsEntity>,SdkBuilder<JobDetailsEntity.Builder,JobDetailsEntity>,SdkPojo
- Enclosing class:
- JobDetailsEntity
public static interface JobDetailsEntity.Builder extends SdkPojo, CopyableBuilder<JobDetailsEntity.Builder,JobDetailsEntity>
-
-
Method Summary
-
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 Detail
-
jobAttachmentSettings
JobDetailsEntity.Builder jobAttachmentSettings(JobAttachmentSettings jobAttachmentSettings)
The job attachment settings.
- Parameters:
jobAttachmentSettings- The job attachment settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobAttachmentSettings
default JobDetailsEntity.Builder jobAttachmentSettings(Consumer<JobAttachmentSettings.Builder> jobAttachmentSettings)
The job attachment settings.
This is a convenience method that creates an instance of theJobAttachmentSettings.Builderavoiding the need to create one manually viaJobAttachmentSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobAttachmentSettings(JobAttachmentSettings).- Parameters:
jobAttachmentSettings- a consumer that will call methods onJobAttachmentSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
jobAttachmentSettings(JobAttachmentSettings)
-
jobId
JobDetailsEntity.Builder jobId(String jobId)
The job ID.
- Parameters:
jobId- The job ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRunAsUser
JobDetailsEntity.Builder jobRunAsUser(JobRunAsUser jobRunAsUser)
The user name and group that the job uses when run.
- Parameters:
jobRunAsUser- The user name and group that the job uses when run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRunAsUser
default JobDetailsEntity.Builder jobRunAsUser(Consumer<JobRunAsUser.Builder> jobRunAsUser)
The user name and group that the job uses when run.
This is a convenience method that creates an instance of theJobRunAsUser.Builderavoiding the need to create one manually viaJobRunAsUser.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobRunAsUser(JobRunAsUser).- Parameters:
jobRunAsUser- a consumer that will call methods onJobRunAsUser.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
jobRunAsUser(JobRunAsUser)
-
logGroupName
JobDetailsEntity.Builder logGroupName(String logGroupName)
The log group name.
- Parameters:
logGroupName- The log group name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
JobDetailsEntity.Builder parameters(Map<String,JobParameter> parameters)
The parameters.
- Parameters:
parameters- The parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathMappingRules
JobDetailsEntity.Builder pathMappingRules(Collection<PathMappingRule> pathMappingRules)
The path mapping rules.
- Parameters:
pathMappingRules- The path mapping rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathMappingRules
JobDetailsEntity.Builder pathMappingRules(PathMappingRule... pathMappingRules)
The path mapping rules.
- Parameters:
pathMappingRules- The path mapping rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathMappingRules
JobDetailsEntity.Builder pathMappingRules(Consumer<PathMappingRule.Builder>... pathMappingRules)
The path mapping rules.
This is a convenience method that creates an instance of thePathMappingRule.Builderavoiding the need to create one manually viaPathMappingRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#pathMappingRules(List.) - Parameters:
pathMappingRules- a consumer that will call methods onPathMappingRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#pathMappingRules(java.util.Collection)
-
queueRoleArn
JobDetailsEntity.Builder queueRoleArn(String queueRoleArn)
The queue role ARN.
- Parameters:
queueRoleArn- The queue role ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaVersion
JobDetailsEntity.Builder schemaVersion(String schemaVersion)
The schema version.
- Parameters:
schemaVersion- The schema version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-