CopyableBuilder<CreateFacetRequest.Builder,CreateFacetRequest>
, SdkBuilder<CreateFacetRequest.Builder,CreateFacetRequest>
public static interface CreateFacetRequest.Builder extends CopyableBuilder<CreateFacetRequest.Builder,CreateFacetRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateFacetRequest.Builder |
attributes(Collection<FacetAttribute> 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(String objectType) |
Specifies whether a given object created from this facet is of type node, leaf node, policy or index.
|
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 |
schemaArn(String schemaArn) |
The schema ARN in which the new Facet will be created.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setAttributes(java.util.Collection)
or #withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- The attributes that are associated with the Facet.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
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
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.