Interface TaskTemplateConstraints.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TaskTemplateConstraints.Builder,TaskTemplateConstraints>,SdkBuilder<TaskTemplateConstraints.Builder,TaskTemplateConstraints>,SdkPojo
- Enclosing class:
- TaskTemplateConstraints
public static interface TaskTemplateConstraints.Builder extends SdkPojo, CopyableBuilder<TaskTemplateConstraints.Builder,TaskTemplateConstraints>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskTemplateConstraints.BuilderinvisibleFields(Collection<InvisibleFieldInfo> invisibleFields)Lists the fields that are invisible to agents.TaskTemplateConstraints.BuilderinvisibleFields(Consumer<InvisibleFieldInfo.Builder>... invisibleFields)Lists the fields that are invisible to agents.TaskTemplateConstraints.BuilderinvisibleFields(InvisibleFieldInfo... invisibleFields)Lists the fields that are invisible to agents.TaskTemplateConstraints.BuilderreadOnlyFields(Collection<ReadOnlyFieldInfo> readOnlyFields)Lists the fields that are read-only to agents, and cannot be edited.TaskTemplateConstraints.BuilderreadOnlyFields(Consumer<ReadOnlyFieldInfo.Builder>... readOnlyFields)Lists the fields that are read-only to agents, and cannot be edited.TaskTemplateConstraints.BuilderreadOnlyFields(ReadOnlyFieldInfo... readOnlyFields)Lists the fields that are read-only to agents, and cannot be edited.TaskTemplateConstraints.BuilderrequiredFields(Collection<RequiredFieldInfo> requiredFields)Lists the fields that are required to be filled by agents.TaskTemplateConstraints.BuilderrequiredFields(Consumer<RequiredFieldInfo.Builder>... requiredFields)Lists the fields that are required to be filled by agents.TaskTemplateConstraints.BuilderrequiredFields(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 Detail
-
requiredFields
TaskTemplateConstraints.Builder requiredFields(Collection<RequiredFieldInfo> 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(RequiredFieldInfo... 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.Builderavoiding the need to create one manually viaRequiredFieldInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#requiredFields(List.) - 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:
#requiredFields(java.util.Collection)
-
readOnlyFields
TaskTemplateConstraints.Builder readOnlyFields(Collection<ReadOnlyFieldInfo> 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(ReadOnlyFieldInfo... 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.Builderavoiding the need to create one manually viaReadOnlyFieldInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#readOnlyFields(List.) - 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:
#readOnlyFields(java.util.Collection)
-
invisibleFields
TaskTemplateConstraints.Builder invisibleFields(Collection<InvisibleFieldInfo> 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(InvisibleFieldInfo... 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.Builderavoiding the need to create one manually viaInvisibleFieldInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#invisibleFields(List.) - 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:
#invisibleFields(java.util.Collection)
-
-