@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFacetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFacetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFacetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<FacetAttribute> |
getAttributes()
The attributes that are associated with the Facet.
|
String |
getName()
The name of the Facet, which is unique for a given schema.
|
String |
getObjectType()
Specifies whether a given object created from this facet is of type node, leaf node, policy or index.
|
String |
getSchemaArn()
The schema ARN in which the new Facet will be created.
|
int |
hashCode() |
void |
setAttributes(Collection<FacetAttribute> attributes)
The attributes that are associated with the Facet.
|
void |
setName(String name)
The name of the Facet, which is unique for a given schema.
|
void |
setObjectType(ObjectType objectType)
Specifies whether a given object created from this facet is of type node, leaf node, policy or index.
|
void |
setObjectType(String objectType)
Specifies whether a given object created from this facet is of type node, leaf node, policy or index.
|
void |
setSchemaArn(String schemaArn)
The schema ARN in which the new Facet will be created.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateFacetRequest |
withAttributes(Collection<FacetAttribute> attributes)
The attributes that are associated with the Facet.
|
CreateFacetRequest |
withAttributes(FacetAttribute... attributes)
The attributes that are associated with the Facet.
|
CreateFacetRequest |
withName(String name)
The name of the Facet, which is unique for a given schema.
|
CreateFacetRequest |
withObjectType(ObjectType objectType)
Specifies whether a given object created from this facet is of type node, leaf node, policy or index.
|
CreateFacetRequest |
withObjectType(String objectType)
Specifies whether a given object created from this facet is of type node, leaf node, policy or index.
|
CreateFacetRequest |
withSchemaArn(String schemaArn)
The schema ARN in which the new Facet will be created.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSchemaArn(String schemaArn)
public String getSchemaArn()
public CreateFacetRequest withSchemaArn(String schemaArn)
public void setName(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.public String getName()
The name of the Facet, which is unique for a given schema.
public CreateFacetRequest withName(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.public List<FacetAttribute> getAttributes()
The attributes that are associated with the Facet.
public void setAttributes(Collection<FacetAttribute> attributes)
The attributes that are associated with the Facet.
attributes
- The attributes that are associated with the Facet.public CreateFacetRequest withAttributes(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.public CreateFacetRequest withAttributes(Collection<FacetAttribute> attributes)
The attributes that are associated with the Facet.
attributes
- The attributes that are associated with the Facet.public void setObjectType(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
public String getObjectType()
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.
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
public CreateFacetRequest withObjectType(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
public void setObjectType(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
public CreateFacetRequest withObjectType(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
public String toString()
toString
in class Object
Object.toString()
public CreateFacetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.