@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSourceRegionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the result of a successful invocation of the DescribeSourceRegions action.
Constructor and Description |
---|
DescribeSourceRegionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSourceRegionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getMarker()
An optional pagination token provided by a previous request.
|
List<SourceRegion> |
getSourceRegions()
A list of SourceRegion instances that contains each source AWS Region that the current AWS Region can get a Read
Replica or a DB snapshot from.
|
int |
hashCode() |
void |
setMarker(String marker)
An optional pagination token provided by a previous request.
|
void |
setSourceRegions(Collection<SourceRegion> sourceRegions)
A list of SourceRegion instances that contains each source AWS Region that the current AWS Region can get a Read
Replica or a DB snapshot from.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeSourceRegionsResult |
withMarker(String marker)
An optional pagination token provided by a previous request.
|
DescribeSourceRegionsResult |
withSourceRegions(Collection<SourceRegion> sourceRegions)
A list of SourceRegion instances that contains each source AWS Region that the current AWS Region can get a Read
Replica or a DB snapshot from.
|
DescribeSourceRegionsResult |
withSourceRegions(SourceRegion... sourceRegions)
A list of SourceRegion instances that contains each source AWS Region that the current AWS Region can get a Read
Replica or a DB snapshot from.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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
.
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 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 DescribeSourceRegionsResult 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
.
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 List<SourceRegion> getSourceRegions()
A list of SourceRegion instances that contains each source AWS Region that the current AWS Region can get a Read Replica or a DB snapshot from.
public void setSourceRegions(Collection<SourceRegion> sourceRegions)
A list of SourceRegion instances that contains each source AWS Region that the current AWS Region can get a Read Replica or a DB snapshot from.
sourceRegions
- A list of SourceRegion instances that contains each source AWS Region that the current AWS Region can get
a Read Replica or a DB snapshot from.public DescribeSourceRegionsResult withSourceRegions(SourceRegion... sourceRegions)
A list of SourceRegion instances that contains each source AWS Region that the current AWS Region can get a Read Replica or a DB snapshot from.
NOTE: This method appends the values to the existing list (if any). Use
setSourceRegions(java.util.Collection)
or withSourceRegions(java.util.Collection)
if you want
to override the existing values.
sourceRegions
- A list of SourceRegion instances that contains each source AWS Region that the current AWS Region can get
a Read Replica or a DB snapshot from.public DescribeSourceRegionsResult withSourceRegions(Collection<SourceRegion> sourceRegions)
A list of SourceRegion instances that contains each source AWS Region that the current AWS Region can get a Read Replica or a DB snapshot from.
sourceRegions
- A list of SourceRegion instances that contains each source AWS Region that the current AWS Region can get
a Read Replica or a DB snapshot from.public String toString()
toString
in class Object
Object.toString()
public DescribeSourceRegionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.