Class DescribeSnapshotCopyGrantsResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
An optional parameter that specifies the starting point to return a set of response records.The list ofSnapshotCopyGrant
objects.int
hashCode()
void
An optional parameter that specifies the starting point to return a set of response records.void
setSnapshotCopyGrants
(Collection<SnapshotCopyGrant> snapshotCopyGrants) The list ofSnapshotCopyGrant
objects.toString()
Returns a string representation of this object; useful for testing and debugging.withMarker
(String marker) An optional parameter that specifies the starting point to return a set of response records.withSnapshotCopyGrants
(SnapshotCopyGrant... snapshotCopyGrants) The list ofSnapshotCopyGrant
objects.withSnapshotCopyGrants
(Collection<SnapshotCopyGrant> snapshotCopyGrants) The list ofSnapshotCopyGrant
objects.
-
Constructor Details
-
DescribeSnapshotCopyGrantsResult
public DescribeSnapshotCopyGrantsResult()
-
-
Method Details
-
setMarker
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 inMaxRecords
, AWS returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
- Parameters:
marker
- An optional parameter that specifies the starting point to return a set of response records. When the results of aDescribeSnapshotCopyGrant
request exceed the value specified inMaxRecords
, AWS returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
-
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 inMaxRecords
, AWS returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
- Returns:
- 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 inMaxRecords
, AWS returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
-
withMarker
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 inMaxRecords
, AWS returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
- Parameters:
marker
- An optional parameter that specifies the starting point to return a set of response records. When the results of aDescribeSnapshotCopyGrant
request exceed the value specified inMaxRecords
, AWS returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSnapshotCopyGrants
The list of
SnapshotCopyGrant
objects.- Returns:
- The list of
SnapshotCopyGrant
objects.
-
setSnapshotCopyGrants
The list of
SnapshotCopyGrant
objects.- Parameters:
snapshotCopyGrants
- The list ofSnapshotCopyGrant
objects.
-
withSnapshotCopyGrants
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)
orwithSnapshotCopyGrants(java.util.Collection)
if you want to override the existing values.- Parameters:
snapshotCopyGrants
- The list ofSnapshotCopyGrant
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSnapshotCopyGrants
public DescribeSnapshotCopyGrantsResult withSnapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants) The list of
SnapshotCopyGrant
objects.- Parameters:
snapshotCopyGrants
- The list ofSnapshotCopyGrant
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-