@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListConstraintsForPortfolioResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListConstraintsForPortfolioResult() |
Modifier and Type | Method and Description |
---|---|
ListConstraintsForPortfolioResult |
clone() |
boolean |
equals(Object obj) |
List<ConstraintDetail> |
getConstraintDetails()
Information about the constraints.
|
String |
getNextPageToken()
The page token to use to retrieve the next set of results.
|
int |
hashCode() |
void |
setConstraintDetails(Collection<ConstraintDetail> constraintDetails)
Information about the constraints.
|
void |
setNextPageToken(String nextPageToken)
The page token to use to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListConstraintsForPortfolioResult |
withConstraintDetails(Collection<ConstraintDetail> constraintDetails)
Information about the constraints.
|
ListConstraintsForPortfolioResult |
withConstraintDetails(ConstraintDetail... constraintDetails)
Information about the constraints.
|
ListConstraintsForPortfolioResult |
withNextPageToken(String nextPageToken)
The page token to use to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ConstraintDetail> getConstraintDetails()
Information about the constraints.
public void setConstraintDetails(Collection<ConstraintDetail> constraintDetails)
Information about the constraints.
constraintDetails
- Information about the constraints.public ListConstraintsForPortfolioResult withConstraintDetails(ConstraintDetail... constraintDetails)
Information about the constraints.
NOTE: This method appends the values to the existing list (if any). Use
setConstraintDetails(java.util.Collection)
or withConstraintDetails(java.util.Collection)
if
you want to override the existing values.
constraintDetails
- Information about the constraints.public ListConstraintsForPortfolioResult withConstraintDetails(Collection<ConstraintDetail> constraintDetails)
Information about the constraints.
constraintDetails
- Information about the constraints.public void setNextPageToken(String nextPageToken)
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
nextPageToken
- The page token to use to retrieve the next set of results. If there are no additional results, this value
is null.public String getNextPageToken()
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
public ListConstraintsForPortfolioResult withNextPageToken(String nextPageToken)
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
nextPageToken
- The page token to use to retrieve the next set of results. If there are no additional results, this value
is null.public String toString()
toString
in class Object
Object.toString()
public ListConstraintsForPortfolioResult clone()