Class DescribeSnapshotCopyGrantsResult

    • Constructor Detail

      • DescribeSnapshotCopyGrantsResult

        public DescribeSnapshotCopyGrantsResult()
    • 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 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.

        Parameters:
        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.

      • getMarker

        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.

        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 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.

      • 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 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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSnapshotCopyGrants

        public List<SnapshotCopyGrant> getSnapshotCopyGrants()

        The list of SnapshotCopyGrant objects.

        Returns:
        The list of SnapshotCopyGrant objects.
      • setSnapshotCopyGrants

        public void setSnapshotCopyGrants​(Collection<SnapshotCopyGrant> snapshotCopyGrants)

        The list of SnapshotCopyGrant objects.

        Parameters:
        snapshotCopyGrants - The list of SnapshotCopyGrant objects.
      • withSnapshotCopyGrants

        public DescribeSnapshotCopyGrantsResult withSnapshotCopyGrants​(Collection<SnapshotCopyGrant> snapshotCopyGrants)

        The list of SnapshotCopyGrant objects.

        Parameters:
        snapshotCopyGrants - The list of SnapshotCopyGrant objects.
        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:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object