Interface CreateFacetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudDirectoryRequest.Builder
,CopyableBuilder<CreateFacetRequest.Builder,
,CreateFacetRequest> SdkBuilder<CreateFacetRequest.Builder,
,CreateFacetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateFacetRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<FacetAttribute> attributes) The attributes that are associated with the Facet.attributes
(Consumer<FacetAttribute.Builder>... attributes) The attributes that are associated with the Facet.attributes
(FacetAttribute... attributes) The attributes that are associated with the Facet.facetStyle
(String facetStyle) There are two different styles that you can define on any given facet,Static
andDynamic
.facetStyle
(FacetStyle facetStyle) There are two different styles that you can define on any given facet,Static
andDynamic
.The name of the Facet, which is unique for a given schema.objectType
(String objectType) Specifies whether a given object created from this facet is of type node, leaf node, policy or index.objectType
(ObjectType objectType) Specifies whether a given object created from this facet is of type node, leaf node, policy or index.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The schema ARN in which the new Facet will be created.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
build
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
-
schemaArn
-
name
-
attributes
-
attributes
-
attributes
The attributes that are associated with the Facet.
This is a convenience method that creates an instance of theFacetAttribute.Builder
avoiding the need to create one manually viaFacetAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<FacetAttribute>)
.- Parameters:
attributes
- a consumer that will call methods onFacetAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
objectType
Specifies whether a given object created from this facet is of type node, leaf node, policy or index.
-
Node: Can have multiple children but one parent.
-
Leaf node: Cannot have children but can have multiple parents.
-
Policy: Allows you to store a policy document and policy type. For more information, see Policies.
-
Index: Can be created with the Index API.
- Parameters:
objectType
- Specifies whether a given object created from this facet is of type node, leaf node, policy or index.-
Node: Can have multiple children but one parent.
-
Leaf node: Cannot have children but can have multiple parents.
-
Policy: Allows you to store a policy document and policy type. For more information, see Policies.
-
Index: Can be created with the Index API.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
objectType
Specifies whether a given object created from this facet is of type node, leaf node, policy or index.
-
Node: Can have multiple children but one parent.
-
Leaf node: Cannot have children but can have multiple parents.
-
Policy: Allows you to store a policy document and policy type. For more information, see Policies.
-
Index: Can be created with the Index API.
- Parameters:
objectType
- Specifies whether a given object created from this facet is of type node, leaf node, policy or index.-
Node: Can have multiple children but one parent.
-
Leaf node: Cannot have children but can have multiple parents.
-
Policy: Allows you to store a policy document and policy type. For more information, see Policies.
-
Index: Can be created with the Index API.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
facetStyle
There are two different styles that you can define on any given facet,
Static
andDynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.- Parameters:
facetStyle
- There are two different styles that you can define on any given facet,Static
andDynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
facetStyle
There are two different styles that you can define on any given facet,
Static
andDynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.- Parameters:
facetStyle
- There are two different styles that you can define on any given facet,Static
andDynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateFacetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateFacetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-