Class DescribeSnapshotCopyGrantsResult
- java.lang.Object
-
- com.amazonaws.services.redshift.model.DescribeSnapshotCopyGrantsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeSnapshotCopyGrantsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeSnapshotCopyGrantsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeSnapshotCopyGrantsResultclone()booleanequals(Object obj)StringgetMarker()An optional parameter that specifies the starting point to return a set of response records.List<SnapshotCopyGrant>getSnapshotCopyGrants()The list ofSnapshotCopyGrantobjects.inthashCode()voidsetMarker(String marker)An optional parameter that specifies the starting point to return a set of response records.voidsetSnapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants)The list ofSnapshotCopyGrantobjects.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeSnapshotCopyGrantsResultwithMarker(String marker)An optional parameter that specifies the starting point to return a set of response records.DescribeSnapshotCopyGrantsResultwithSnapshotCopyGrants(SnapshotCopyGrant... snapshotCopyGrants)The list ofSnapshotCopyGrantobjects.DescribeSnapshotCopyGrantsResultwithSnapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants)The list ofSnapshotCopyGrantobjects.
-
-
-
Method Detail
-
setMarker
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
DescribeSnapshotCopyGrantrequest exceed the value specified inMaxRecords, AWS returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter 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 aDescribeSnapshotCopyGrantrequest exceed the value specified inMaxRecords, AWS returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request.Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
-
getMarker
public String getMarker()
An optional parameter that specifies the starting point to return a set of response records. When the results of a
DescribeSnapshotCopyGrantrequest exceed the value specified inMaxRecords, AWS returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter 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
DescribeSnapshotCopyGrantrequest exceed the value specified inMaxRecords, AWS returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request.Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
-
withMarker
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
DescribeSnapshotCopyGrantrequest exceed the value specified inMaxRecords, AWS returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter 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 aDescribeSnapshotCopyGrantrequest exceed the value specified inMaxRecords, AWS returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter 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
public List<SnapshotCopyGrant> getSnapshotCopyGrants()
The list of
SnapshotCopyGrantobjects.- Returns:
- The list of
SnapshotCopyGrantobjects.
-
setSnapshotCopyGrants
public void setSnapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants)
The list of
SnapshotCopyGrantobjects.- Parameters:
snapshotCopyGrants- The list ofSnapshotCopyGrantobjects.
-
withSnapshotCopyGrants
public DescribeSnapshotCopyGrantsResult withSnapshotCopyGrants(SnapshotCopyGrant... snapshotCopyGrants)
The list of
SnapshotCopyGrantobjects.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 ofSnapshotCopyGrantobjects.- 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
SnapshotCopyGrantobjects.- Parameters:
snapshotCopyGrants- The list ofSnapshotCopyGrantobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeSnapshotCopyGrantsResult clone()
-
-