Class DescribeEndpointsResult
- java.lang.Object
-
- com.amazonaws.services.databasemigrationservice.model.DescribeEndpointsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeEndpointsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeEndpointsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeEndpointsResult
clone()
boolean
equals(Object obj)
List<Endpoint>
getEndpoints()
Endpoint description.String
getMarker()
An optional pagination token provided by a previous request.int
hashCode()
void
setEndpoints(Collection<Endpoint> endpoints)
Endpoint description.void
setMarker(String marker)
An optional pagination token provided by a previous request.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeEndpointsResult
withEndpoints(Endpoint... endpoints)
Endpoint description.DescribeEndpointsResult
withEndpoints(Collection<Endpoint> endpoints)
Endpoint description.DescribeEndpointsResult
withMarker(String marker)
An optional pagination token provided by a previous request.
-
-
-
Method Detail
-
setMarker
public void setMarker(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
.- Parameters:
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 byMaxRecords
.
-
getMarker
public 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
.- Returns:
- 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
.
-
withMarker
public DescribeEndpointsResult withMarker(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
.- Parameters:
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 byMaxRecords
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEndpoints
public List<Endpoint> getEndpoints()
Endpoint description.
- Returns:
- Endpoint description.
-
setEndpoints
public void setEndpoints(Collection<Endpoint> endpoints)
Endpoint description.
- Parameters:
endpoints
- Endpoint description.
-
withEndpoints
public DescribeEndpointsResult withEndpoints(Endpoint... endpoints)
Endpoint description.
NOTE: This method appends the values to the existing list (if any). Use
setEndpoints(java.util.Collection)
orwithEndpoints(java.util.Collection)
if you want to override the existing values.- Parameters:
endpoints
- Endpoint description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEndpoints
public DescribeEndpointsResult withEndpoints(Collection<Endpoint> endpoints)
Endpoint description.
- Parameters:
endpoints
- Endpoint description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeEndpointsResult clone()
-
-