public class DescribeOptionGroupsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
List of option groups.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
marker
An optional pagination token provided by a previous request.
|
private SdkInternalList<OptionGroup> |
optionGroupsList
List of option groups.
|
Constructor and Description |
---|
DescribeOptionGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeOptionGroupsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMarker()
An optional pagination token provided by a previous request.
|
java.util.List<OptionGroup> |
getOptionGroupsList()
List of option groups.
|
int |
hashCode() |
void |
setMarker(java.lang.String marker)
An optional pagination token provided by a previous request.
|
void |
setOptionGroupsList(java.util.Collection<OptionGroup> optionGroupsList)
List of option groups.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeOptionGroupsResult |
withMarker(java.lang.String marker)
An optional pagination token provided by a previous request.
|
DescribeOptionGroupsResult |
withOptionGroupsList(java.util.Collection<OptionGroup> optionGroupsList)
List of option groups.
|
DescribeOptionGroupsResult |
withOptionGroupsList(OptionGroup... optionGroupsList)
List of option groups.
|
private SdkInternalList<OptionGroup> optionGroupsList
List of option groups.
private java.lang.String marker
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
public java.util.List<OptionGroup> getOptionGroupsList()
List of option groups.
public void setOptionGroupsList(java.util.Collection<OptionGroup> optionGroupsList)
List of option groups.
optionGroupsList
- List of option groups.public DescribeOptionGroupsResult withOptionGroupsList(OptionGroup... optionGroupsList)
List of option groups.
NOTE: This method appends the values to the existing list (if
any). Use setOptionGroupsList(java.util.Collection)
or
withOptionGroupsList(java.util.Collection)
if you want to
override the existing values.
optionGroupsList
- List of option groups.public DescribeOptionGroupsResult withOptionGroupsList(java.util.Collection<OptionGroup> optionGroupsList)
List of option groups.
optionGroupsList
- List of option groups.public void setMarker(java.lang.String marker)
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
marker
- An optional pagination token provided by a previous request. If
this parameter is specified, the response includes only records
beyond the marker, up to the value specified by
MaxRecords
.public java.lang.String getMarker()
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
MaxRecords
.public DescribeOptionGroupsResult withMarker(java.lang.String marker)
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
marker
- An optional pagination token provided by a previous request. If
this parameter is specified, the response includes only records
beyond the marker, up to the value specified by
MaxRecords
.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeOptionGroupsResult clone()
clone
in class java.lang.Object