public class DescribeSnapshotCopyGrantsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
marker
An optional parameter that specifies the starting point to return a set
of response records.
|
private SdkInternalList<SnapshotCopyGrant> |
snapshotCopyGrants
The list of
SnapshotCopyGrant objects. |
Constructor and Description |
---|
DescribeSnapshotCopyGrantsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSnapshotCopyGrantsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMarker()
An optional parameter that specifies the starting point to return a set
of response records.
|
java.util.List<SnapshotCopyGrant> |
getSnapshotCopyGrants()
The list of
SnapshotCopyGrant objects. |
int |
hashCode() |
void |
setMarker(java.lang.String marker)
An optional parameter that specifies the starting point to return a set
of response records.
|
void |
setSnapshotCopyGrants(java.util.Collection<SnapshotCopyGrant> snapshotCopyGrants)
The list of
SnapshotCopyGrant objects. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSnapshotCopyGrantsResult |
withMarker(java.lang.String marker)
An optional parameter that specifies the starting point to return a set
of response records.
|
DescribeSnapshotCopyGrantsResult |
withSnapshotCopyGrants(java.util.Collection<SnapshotCopyGrant> snapshotCopyGrants)
The list of
SnapshotCopyGrant objects. |
DescribeSnapshotCopyGrantsResult |
withSnapshotCopyGrants(SnapshotCopyGrant... snapshotCopyGrants)
The list of
SnapshotCopyGrant objects. |
private java.lang.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.
private SdkInternalList<SnapshotCopyGrant> snapshotCopyGrants
The list of SnapshotCopyGrant
objects.
public void setMarker(java.lang.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 java.lang.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(java.lang.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 java.util.List<SnapshotCopyGrant> getSnapshotCopyGrants()
The list of SnapshotCopyGrant
objects.
SnapshotCopyGrant
objects.public void setSnapshotCopyGrants(java.util.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(java.util.Collection<SnapshotCopyGrant> snapshotCopyGrants)
The list of SnapshotCopyGrant
objects.
snapshotCopyGrants
- The list of SnapshotCopyGrant
objects.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 DescribeSnapshotCopyGrantsResult clone()
clone
in class java.lang.Object