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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateFacetRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateFacetRequest.Builder |
schemaArn(String schemaArn)
The schema ARN in which the new Facet will be created.
|
buildrequestOverrideConfigcopyapply, buildCreateFacetRequest.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,
ObjectTypeCreateFacetRequest.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,
ObjectTypeCreateFacetRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateFacetRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.