public class DescribeSnapshotCopyGrantsResult extends Object implements Serializable, Cloneable
The result of the snapshot copy grant.
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 snapshot copy grants.
|
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 snapshot copy grants.
|
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 snapshot copy grants.
|
DescribeSnapshotCopyGrantsResult |
withSnapshotCopyGrants(SnapshotCopyGrant... snapshotCopyGrants)
The list of snapshot copy grants.
|
public String getMarker()
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 void setMarker(String marker)
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 DescribeSnapshotCopyGrantsResult withMarker(String marker)
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.
Returns a reference to this object so that method calls can be chained together.
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()
public void setSnapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants)
snapshotCopyGrants
- The list of snapshot copy grants.public DescribeSnapshotCopyGrantsResult withSnapshotCopyGrants(SnapshotCopyGrant... snapshotCopyGrants)
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.
Returns a reference to this object so that method calls can be chained together.
snapshotCopyGrants
- The list of snapshot copy grants.public DescribeSnapshotCopyGrantsResult withSnapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants)
Returns a reference to this object so that method calls can be chained together.
snapshotCopyGrants
- The list of snapshot copy grants.public String toString()
toString
in class Object
Object.toString()
public DescribeSnapshotCopyGrantsResult clone()
Copyright © 2015. All rights reserved.