public static interface CreateFacetRequest.Builder extends CloudDirectoryRequest.Builder, CopyableBuilder<CreateFacetRequest.Builder,CreateFacetRequest>
Modifier and Type | Method and Description |
---|---|
CreateFacetRequest.Builder |
attributes(Collection<FacetAttribute> attributes)
The attributes that are associated with the Facet.
|
CreateFacetRequest.Builder |
attributes(Consumer<FacetAttribute.Builder>... attributes)
The attributes that are associated with the Facet.
|
CreateFacetRequest.Builder |
attributes(FacetAttribute... attributes)
The attributes that are associated with the Facet.
|
CreateFacetRequest.Builder |
name(String name)
The name of the Facet, which is unique for a given schema.
|
CreateFacetRequest.Builder |
objectType(ObjectType objectType)
Specifies whether a given object created from this facet is of type node, leaf node, policy or index.
|
CreateFacetRequest.Builder |
objectType(String objectType)
Specifies whether a given object created from this facet is of type node, leaf node, policy or index.
|
CreateFacetRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateFacetRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateFacetRequest.Builder |
schemaArn(String schemaArn)
The schema ARN in which the new Facet will be created.
|
build
overrideConfiguration
copy
applyMutation, build
CreateFacetRequest.Builder schemaArn(String schemaArn)
CreateFacetRequest.Builder name(String name)
The name of the Facet, which is unique for a given schema.
name
- The name of the Facet, which is unique for a given schema.CreateFacetRequest.Builder attributes(Collection<FacetAttribute> attributes)
The attributes that are associated with the Facet.
attributes
- The attributes that are associated with the Facet.CreateFacetRequest.Builder attributes(FacetAttribute... attributes)
The attributes that are associated with the Facet.
attributes
- The attributes that are associated with the Facet.CreateFacetRequest.Builder attributes(Consumer<FacetAttribute.Builder>... attributes)
The attributes that are associated with the Facet.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #attributes(List)
.attributes
- a consumer that will call methods on List.Builder
#attributes(List)
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.
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.
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.
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.
ObjectType
,
ObjectType
CreateFacetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateFacetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.