Interface CfnTaskTemplate.ConstraintsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskTemplate.ConstraintsProperty.Jsii$Proxy
- Enclosing class:
CfnTaskTemplate
@Stability(Stable)
public static interface CfnTaskTemplate.ConstraintsProperty
extends software.amazon.jsii.JsiiSerializable
Describes constraints that apply to the template fields.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;
ConstraintsProperty constraintsProperty = ConstraintsProperty.builder()
.invisibleFields(List.of(InvisibleFieldInfoProperty.builder()
.id(FieldIdentifierProperty.builder()
.name("name")
.build())
.build()))
.readOnlyFields(List.of(ReadOnlyFieldInfoProperty.builder()
.id(FieldIdentifierProperty.builder()
.name("name")
.build())
.build()))
.requiredFields(List.of(RequiredFieldInfoProperty.builder()
.id(FieldIdentifierProperty.builder()
.name("name")
.build())
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTaskTemplate.ConstraintsPropertystatic final classAn implementation forCfnTaskTemplate.ConstraintsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInvisibleFields
Lists the fields that are invisible to agents.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTaskTemplate.InvisibleFieldInfoProperty>- See Also:
-
getReadOnlyFields
Lists the fields that are read-only to agents, and cannot be edited.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTaskTemplate.ReadOnlyFieldInfoProperty>- See Also:
-
getRequiredFields
Lists the fields that are required to be filled by agents.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTaskTemplate.RequiredFieldInfoProperty>- See Also:
-
builder
-