@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConstraintSummary extends Object implements Serializable, Cloneable, StructuredPojo
An administrator-specified constraint to apply when provisioning a product.
Constructor and Description |
---|
ConstraintSummary() |
Modifier and Type | Method and Description |
---|---|
ConstraintSummary |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The text description of the constraint.
|
String |
getType()
The type of the constraint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The text description of the constraint.
|
void |
setType(String type)
The type of the constraint.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ConstraintSummary |
withDescription(String description)
The text description of the constraint.
|
ConstraintSummary |
withType(String type)
The type of the constraint.
|
public void setType(String type)
The type of the constraint.
type
- The type of the constraint.public String getType()
The type of the constraint.
public ConstraintSummary withType(String type)
The type of the constraint.
type
- The type of the constraint.public void setDescription(String description)
The text description of the constraint.
description
- The text description of the constraint.public String getDescription()
The text description of the constraint.
public ConstraintSummary withDescription(String description)
The text description of the constraint.
description
- The text description of the constraint.public String toString()
toString
in class Object
Object.toString()
public ConstraintSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.