Interface TaskTemplateConstraints.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TaskTemplateConstraints.Builder,
,TaskTemplateConstraints> SdkBuilder<TaskTemplateConstraints.Builder,
,TaskTemplateConstraints> SdkPojo
- Enclosing class:
TaskTemplateConstraints
-
Method Summary
Modifier and TypeMethodDescriptioninvisibleFields
(Collection<InvisibleFieldInfo> invisibleFields) Lists the fields that are invisible to agents.invisibleFields
(Consumer<InvisibleFieldInfo.Builder>... invisibleFields) Lists the fields that are invisible to agents.invisibleFields
(InvisibleFieldInfo... invisibleFields) Lists the fields that are invisible to agents.readOnlyFields
(Collection<ReadOnlyFieldInfo> readOnlyFields) Lists the fields that are read-only to agents, and cannot be edited.readOnlyFields
(Consumer<ReadOnlyFieldInfo.Builder>... readOnlyFields) Lists the fields that are read-only to agents, and cannot be edited.readOnlyFields
(ReadOnlyFieldInfo... readOnlyFields) Lists the fields that are read-only to agents, and cannot be edited.requiredFields
(Collection<RequiredFieldInfo> requiredFields) Lists the fields that are required to be filled by agents.requiredFields
(Consumer<RequiredFieldInfo.Builder>... requiredFields) Lists the fields that are required to be filled by agents.requiredFields
(RequiredFieldInfo... requiredFields) Lists the fields that are required to be filled by agents.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
-
requiredFields
Lists the fields that are required to be filled by agents.
- Parameters:
requiredFields
- Lists the fields that are required to be filled by agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredFields
Lists the fields that are required to be filled by agents.
- Parameters:
requiredFields
- Lists the fields that are required to be filled by agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredFields
TaskTemplateConstraints.Builder requiredFields(Consumer<RequiredFieldInfo.Builder>... requiredFields) Lists the fields that are required to be filled by agents.
This is a convenience method that creates an instance of theRequiredFieldInfo.Builder
avoiding the need to create one manually viaRequiredFieldInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequiredFields(List<RequiredFieldInfo>)
.- Parameters:
requiredFields
- a consumer that will call methods onRequiredFieldInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
readOnlyFields
Lists the fields that are read-only to agents, and cannot be edited.
- Parameters:
readOnlyFields
- Lists the fields that are read-only to agents, and cannot be edited.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readOnlyFields
Lists the fields that are read-only to agents, and cannot be edited.
- Parameters:
readOnlyFields
- Lists the fields that are read-only to agents, and cannot be edited.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readOnlyFields
TaskTemplateConstraints.Builder readOnlyFields(Consumer<ReadOnlyFieldInfo.Builder>... readOnlyFields) Lists the fields that are read-only to agents, and cannot be edited.
This is a convenience method that creates an instance of theReadOnlyFieldInfo.Builder
avoiding the need to create one manually viaReadOnlyFieldInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreadOnlyFields(List<ReadOnlyFieldInfo>)
.- Parameters:
readOnlyFields
- a consumer that will call methods onReadOnlyFieldInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invisibleFields
Lists the fields that are invisible to agents.
- Parameters:
invisibleFields
- Lists the fields that are invisible to agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invisibleFields
Lists the fields that are invisible to agents.
- Parameters:
invisibleFields
- Lists the fields that are invisible to agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invisibleFields
TaskTemplateConstraints.Builder invisibleFields(Consumer<InvisibleFieldInfo.Builder>... invisibleFields) Lists the fields that are invisible to agents.
This is a convenience method that creates an instance of theInvisibleFieldInfo.Builder
avoiding the need to create one manually viaInvisibleFieldInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinvisibleFields(List<InvisibleFieldInfo>)
.- Parameters:
invisibleFields
- a consumer that will call methods onInvisibleFieldInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-