public class DescribeEndpointsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.List<Endpoint> |
endpoints
Endpoint description.
|
private java.lang.String |
marker
An optional pagination token provided by a previous request.
|
Constructor and Description |
---|
DescribeEndpointsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEndpointsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Endpoint> |
getEndpoints()
Endpoint description.
|
java.lang.String |
getMarker()
An optional pagination token provided by a previous request.
|
int |
hashCode() |
void |
setEndpoints(java.util.Collection<Endpoint> endpoints)
Endpoint description.
|
void |
setMarker(java.lang.String marker)
An optional pagination token provided by a previous request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEndpointsResult |
withEndpoints(java.util.Collection<Endpoint> endpoints)
Endpoint description.
|
DescribeEndpointsResult |
withEndpoints(Endpoint... endpoints)
Endpoint description.
|
DescribeEndpointsResult |
withMarker(java.lang.String marker)
An optional pagination token provided by a previous request.
|
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
.
private java.util.List<Endpoint> endpoints
Endpoint description.
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 DescribeEndpointsResult 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.util.List<Endpoint> getEndpoints()
Endpoint description.
public void setEndpoints(java.util.Collection<Endpoint> endpoints)
Endpoint description.
endpoints
- Endpoint description.public DescribeEndpointsResult withEndpoints(Endpoint... endpoints)
Endpoint description.
NOTE: This method appends the values to the existing list (if
any). Use setEndpoints(java.util.Collection)
or
withEndpoints(java.util.Collection)
if you want to override the
existing values.
endpoints
- Endpoint description.public DescribeEndpointsResult withEndpoints(java.util.Collection<Endpoint> endpoints)
Endpoint description.
endpoints
- Endpoint description.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 DescribeEndpointsResult clone()
clone
in class java.lang.Object