Interface CreateFacetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<CreateFacetRequest.Builder,CreateFacetRequest>,SdkBuilder<CreateFacetRequest.Builder,CreateFacetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateFacetRequest
public static interface CreateFacetRequest.Builder extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<CreateFacetRequest.Builder,CreateFacetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateFacetRequest.Builderattributes(Collection<FacetAttribute> attributes)The attributes that are associated with the Facet.CreateFacetRequest.Builderattributes(Consumer<FacetAttribute.Builder>... attributes)The attributes that are associated with the Facet.CreateFacetRequest.Builderattributes(FacetAttribute... attributes)The attributes that are associated with the Facet.CreateFacetRequest.BuilderfacetStyle(String facetStyle)There are two different styles that you can define on any given facet,StaticandDynamic.CreateFacetRequest.BuilderfacetStyle(FacetStyle facetStyle)There are two different styles that you can define on any given facet,StaticandDynamic.CreateFacetRequest.Buildername(String name)The name of the Facet, which is unique for a given schema.CreateFacetRequest.BuilderobjectType(String objectType)Specifies whether a given object created from this facet is of type node, leaf node, policy or index.CreateFacetRequest.BuilderobjectType(ObjectType objectType)Specifies whether a given object created from this facet is of type node, leaf node, policy or index.CreateFacetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateFacetRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateFacetRequest.BuilderschemaArn(String schemaArn)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 Detail
-
schemaArn
CreateFacetRequest.Builder schemaArn(String schemaArn)
-
name
CreateFacetRequest.Builder name(String name)
The name of the Facet, which is unique for a given schema.
- Parameters:
name- The name of the Facet, which is unique for a given schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
CreateFacetRequest.Builder attributes(Collection<FacetAttribute> attributes)
The attributes that are associated with the Facet.
- Parameters:
attributes- The attributes that are associated with the Facet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
CreateFacetRequest.Builder attributes(FacetAttribute... attributes)
The attributes that are associated with the Facet.
- Parameters:
attributes- The attributes that are associated with the Facet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
CreateFacetRequest.Builder attributes(Consumer<FacetAttribute.Builder>... attributes)
The attributes that are associated with the Facet.
This is a convenience method that creates an instance of theFacetAttribute.Builderavoiding the need to create one manually viaFacetAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
objectType
CreateFacetRequest.Builder objectType(String 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,ObjectType
-
-
objectType
CreateFacetRequest.Builder objectType(ObjectType 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,ObjectType
-
-
facetStyle
CreateFacetRequest.Builder facetStyle(String facetStyle)
There are two different styles that you can define on any given facet,
StaticandDynamic. 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,StaticandDynamic. 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,FacetStyle
-
facetStyle
CreateFacetRequest.Builder facetStyle(FacetStyle facetStyle)
There are two different styles that you can define on any given facet,
StaticandDynamic. 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,StaticandDynamic. 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,FacetStyle
-
overrideConfiguration
CreateFacetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFacetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-