@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConstraintDetail extends Object implements Serializable, Cloneable, StructuredPojo
Information about a constraint.
Constructor and Description |
---|
ConstraintDetail() |
Modifier and Type | Method and Description |
---|---|
ConstraintDetail |
clone() |
boolean |
equals(Object obj) |
String |
getConstraintId()
The identifier of the constraint.
|
String |
getDescription()
The description of the constraint.
|
String |
getOwner()
The owner of the constraint.
|
String |
getPortfolioId()
The identifier of the portfolio the product resides in.
|
String |
getProductId()
The identifier of the product the constraint applies to.
|
String |
getType()
The type of constraint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConstraintId(String constraintId)
The identifier of the constraint.
|
void |
setDescription(String description)
The description of the constraint.
|
void |
setOwner(String owner)
The owner of the constraint.
|
void |
setPortfolioId(String portfolioId)
The identifier of the portfolio the product resides in.
|
void |
setProductId(String productId)
The identifier of the product the constraint applies to.
|
void |
setType(String type)
The type of constraint.
|
String |
toString()
Returns a string representation of this object.
|
ConstraintDetail |
withConstraintId(String constraintId)
The identifier of the constraint.
|
ConstraintDetail |
withDescription(String description)
The description of the constraint.
|
ConstraintDetail |
withOwner(String owner)
The owner of the constraint.
|
ConstraintDetail |
withPortfolioId(String portfolioId)
The identifier of the portfolio the product resides in.
|
ConstraintDetail |
withProductId(String productId)
The identifier of the product the constraint applies to.
|
ConstraintDetail |
withType(String type)
The type of constraint.
|
public void setConstraintId(String constraintId)
The identifier of the constraint.
constraintId
- The identifier of the constraint.public String getConstraintId()
The identifier of the constraint.
public ConstraintDetail withConstraintId(String constraintId)
The identifier of the constraint.
constraintId
- The identifier of the constraint.public void setType(String type)
The type of constraint.
LAUNCH
NOTIFICATION
STACKSET
TEMPLATE
type
- The type of constraint.
LAUNCH
NOTIFICATION
STACKSET
TEMPLATE
public String getType()
The type of constraint.
LAUNCH
NOTIFICATION
STACKSET
TEMPLATE
LAUNCH
NOTIFICATION
STACKSET
TEMPLATE
public ConstraintDetail withType(String type)
The type of constraint.
LAUNCH
NOTIFICATION
STACKSET
TEMPLATE
type
- The type of constraint.
LAUNCH
NOTIFICATION
STACKSET
TEMPLATE
public void setDescription(String description)
The description of the constraint.
description
- The description of the constraint.public String getDescription()
The description of the constraint.
public ConstraintDetail withDescription(String description)
The description of the constraint.
description
- The description of the constraint.public void setOwner(String owner)
The owner of the constraint.
owner
- The owner of the constraint.public String getOwner()
The owner of the constraint.
public ConstraintDetail withOwner(String owner)
The owner of the constraint.
owner
- The owner of the constraint.public void setProductId(String productId)
The identifier of the product the constraint applies to. Note that a constraint applies to a specific instance of a product within a certain portfolio.
productId
- The identifier of the product the constraint applies to. Note that a constraint applies to a specific
instance of a product within a certain portfolio.public String getProductId()
The identifier of the product the constraint applies to. Note that a constraint applies to a specific instance of a product within a certain portfolio.
public ConstraintDetail withProductId(String productId)
The identifier of the product the constraint applies to. Note that a constraint applies to a specific instance of a product within a certain portfolio.
productId
- The identifier of the product the constraint applies to. Note that a constraint applies to a specific
instance of a product within a certain portfolio.public void setPortfolioId(String portfolioId)
The identifier of the portfolio the product resides in. The constraint applies only to the instance of the product that lives within this portfolio.
portfolioId
- The identifier of the portfolio the product resides in. The constraint applies only to the instance of the
product that lives within this portfolio.public String getPortfolioId()
The identifier of the portfolio the product resides in. The constraint applies only to the instance of the product that lives within this portfolio.
public ConstraintDetail withPortfolioId(String portfolioId)
The identifier of the portfolio the product resides in. The constraint applies only to the instance of the product that lives within this portfolio.
portfolioId
- The identifier of the portfolio the product resides in. The constraint applies only to the instance of the
product that lives within this portfolio.public String toString()
toString
in class Object
Object.toString()
public ConstraintDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.