@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SchemaFacet extends Object implements Serializable, Cloneable, StructuredPojo
A facet.
Constructor and Description |
---|
SchemaFacet() |
Modifier and Type | Method and Description |
---|---|
SchemaFacet |
clone() |
boolean |
equals(Object obj) |
String |
getFacetName()
The name of the facet.
|
String |
getSchemaArn()
The ARN of the schema that contains the facet with no minor component.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFacetName(String facetName)
The name of the facet.
|
void |
setSchemaArn(String schemaArn)
The ARN of the schema that contains the facet with no minor component.
|
String |
toString()
Returns a string representation of this object.
|
SchemaFacet |
withFacetName(String facetName)
The name of the facet.
|
SchemaFacet |
withSchemaArn(String schemaArn)
The ARN of the schema that contains the facet with no minor component.
|
public void setSchemaArn(String schemaArn)
The ARN of the schema that contains the facet with no minor component. See arns and In-Place Schema Upgrade for a description of when to provide minor versions. If this value is set, FacetName must also be set.
schemaArn
- The ARN of the schema that contains the facet with no minor component. See arns and In-Place Schema Upgrade for a description of when to provide minor versions. If this value is set,
FacetName must also be set.public String getSchemaArn()
The ARN of the schema that contains the facet with no minor component. See arns and In-Place Schema Upgrade for a description of when to provide minor versions. If this value is set, FacetName must also be set.
public SchemaFacet withSchemaArn(String schemaArn)
The ARN of the schema that contains the facet with no minor component. See arns and In-Place Schema Upgrade for a description of when to provide minor versions. If this value is set, FacetName must also be set.
schemaArn
- The ARN of the schema that contains the facet with no minor component. See arns and In-Place Schema Upgrade for a description of when to provide minor versions. If this value is set,
FacetName must also be set.public void setFacetName(String facetName)
The name of the facet. If this value is set, SchemaArn must also be set.
facetName
- The name of the facet. If this value is set, SchemaArn must also be set.public String getFacetName()
The name of the facet. If this value is set, SchemaArn must also be set.
public SchemaFacet withFacetName(String facetName)
The name of the facet. If this value is set, SchemaArn must also be set.
facetName
- The name of the facet. If this value is set, SchemaArn must also be set.public String toString()
toString
in class Object
Object.toString()
public SchemaFacet clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.