public class DescribeSnapshotCopyGrantsResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeSnapshotCopyGrantsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSnapshotCopyGrantsResult |
clone() |
boolean |
equals(Object obj) |
String |
getMarker()
An optional parameter that specifies the starting point to return a set
of response records.
|
List<SnapshotCopyGrant> |
getSnapshotCopyGrants()
The list of
SnapshotCopyGrant objects. |
int |
hashCode() |
void |
setMarker(String marker)
An optional parameter that specifies the starting point to return a set
of response records.
|
void |
setSnapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants)
The list of
SnapshotCopyGrant objects. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSnapshotCopyGrantsResult |
withMarker(String marker)
An optional parameter that specifies the starting point to return a set
of response records.
|
DescribeSnapshotCopyGrantsResult |
withSnapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants)
The list of
SnapshotCopyGrant objects. |
DescribeSnapshotCopyGrantsResult |
withSnapshotCopyGrants(SnapshotCopyGrant... snapshotCopyGrants)
The list of
SnapshotCopyGrant objects. |
public void setMarker(String marker)
An optional parameter that specifies the starting point to return a set
of response records. When the results of a
DescribeSnapshotCopyGrant
request exceed the value specified
in MaxRecords
, AWS returns a value in the
Marker
field of the response. You can retrieve the next set
of response records by providing the returned marker value in the
Marker
parameter and retrying the request.
Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
marker
- An optional parameter that specifies the starting point to return
a set of response records. When the results of a
DescribeSnapshotCopyGrant
request exceed the value
specified in MaxRecords
, AWS returns a value in the
Marker
field of the response. You can retrieve the
next set of response records by providing the returned marker
value in the Marker
parameter and retrying the
request.
Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
public String getMarker()
An optional parameter that specifies the starting point to return a set
of response records. When the results of a
DescribeSnapshotCopyGrant
request exceed the value specified
in MaxRecords
, AWS returns a value in the
Marker
field of the response. You can retrieve the next set
of response records by providing the returned marker value in the
Marker
parameter and retrying the request.
Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
DescribeSnapshotCopyGrant
request exceed the value
specified in MaxRecords
, AWS returns a value in the
Marker
field of the response. You can retrieve the
next set of response records by providing the returned marker
value in the Marker
parameter and retrying the
request.
Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
public DescribeSnapshotCopyGrantsResult withMarker(String marker)
An optional parameter that specifies the starting point to return a set
of response records. When the results of a
DescribeSnapshotCopyGrant
request exceed the value specified
in MaxRecords
, AWS returns a value in the
Marker
field of the response. You can retrieve the next set
of response records by providing the returned marker value in the
Marker
parameter and retrying the request.
Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
marker
- An optional parameter that specifies the starting point to return
a set of response records. When the results of a
DescribeSnapshotCopyGrant
request exceed the value
specified in MaxRecords
, AWS returns a value in the
Marker
field of the response. You can retrieve the
next set of response records by providing the returned marker
value in the Marker
parameter and retrying the
request.
Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
public List<SnapshotCopyGrant> getSnapshotCopyGrants()
The list of SnapshotCopyGrant
objects.
SnapshotCopyGrant
objects.public void setSnapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants)
The list of SnapshotCopyGrant
objects.
snapshotCopyGrants
- The list of SnapshotCopyGrant
objects.public DescribeSnapshotCopyGrantsResult withSnapshotCopyGrants(SnapshotCopyGrant... snapshotCopyGrants)
The list of SnapshotCopyGrant
objects.
NOTE: This method appends the values to the existing list (if
any). Use setSnapshotCopyGrants(java.util.Collection)
or
withSnapshotCopyGrants(java.util.Collection)
if you want to
override the existing values.
snapshotCopyGrants
- The list of SnapshotCopyGrant
objects.public DescribeSnapshotCopyGrantsResult withSnapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants)
The list of SnapshotCopyGrant
objects.
snapshotCopyGrants
- The list of SnapshotCopyGrant
objects.public String toString()
toString
in class Object
Object.toString()
public DescribeSnapshotCopyGrantsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.