|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.redshift.model.DescribeClusterSnapshotsRequest
public class DescribeClusterSnapshotsRequest
Container for the parameters to the DescribeClusterSnapshots operation
.
Returns one or more snapshot objects, which contain metadata about your cluster snapshots. By default, this operation returns information about all snapshots of all clusters that are owned by the AWS account.
AmazonRedshift.describeClusterSnapshots(DescribeClusterSnapshotsRequest)
Constructor Summary | |
---|---|
DescribeClusterSnapshotsRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getClusterIdentifier()
The identifier of the cluster for which information about snapshots is requested. |
java.util.Date |
getEndTime()
A time value that requests only snapshots created at or before the specified time. |
java.lang.String |
getMarker()
An optional marker returned by a previous DescribeClusterSnapshots request to indicate the first snapshot that the request will return. |
java.lang.Integer |
getMaxRecords()
The maximum number of snapshot records to include in the response. |
java.lang.String |
getSnapshotIdentifier()
The snapshot identifier of the snapshot about which to return information. |
java.lang.String |
getSnapshotType()
The type of snapshots for which you are requesting information. |
java.util.Date |
getStartTime()
A value that requests only snapshots created at or after the specified time. |
int |
hashCode()
|
void |
setClusterIdentifier(java.lang.String clusterIdentifier)
The identifier of the cluster for which information about snapshots is requested. |
void |
setEndTime(java.util.Date endTime)
A time value that requests only snapshots created at or before the specified time. |
void |
setMarker(java.lang.String marker)
An optional marker returned by a previous DescribeClusterSnapshots request to indicate the first snapshot that the request will return. |
void |
setMaxRecords(java.lang.Integer maxRecords)
The maximum number of snapshot records to include in the response. |
void |
setSnapshotIdentifier(java.lang.String snapshotIdentifier)
The snapshot identifier of the snapshot about which to return information. |
void |
setSnapshotType(java.lang.String snapshotType)
The type of snapshots for which you are requesting information. |
void |
setStartTime(java.util.Date startTime)
A value that requests only snapshots created at or after the specified time. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeClusterSnapshotsRequest |
withClusterIdentifier(java.lang.String clusterIdentifier)
The identifier of the cluster for which information about snapshots is requested. |
DescribeClusterSnapshotsRequest |
withEndTime(java.util.Date endTime)
A time value that requests only snapshots created at or before the specified time. |
DescribeClusterSnapshotsRequest |
withMarker(java.lang.String marker)
An optional marker returned by a previous DescribeClusterSnapshots request to indicate the first snapshot that the request will return. |
DescribeClusterSnapshotsRequest |
withMaxRecords(java.lang.Integer maxRecords)
The maximum number of snapshot records to include in the response. |
DescribeClusterSnapshotsRequest |
withSnapshotIdentifier(java.lang.String snapshotIdentifier)
The snapshot identifier of the snapshot about which to return information. |
DescribeClusterSnapshotsRequest |
withSnapshotType(java.lang.String snapshotType)
The type of snapshots for which you are requesting information. |
DescribeClusterSnapshotsRequest |
withStartTime(java.util.Date startTime)
A value that requests only snapshots created at or after the specified time. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeClusterSnapshotsRequest()
Method Detail |
---|
public java.lang.String getClusterIdentifier()
public void setClusterIdentifier(java.lang.String clusterIdentifier)
clusterIdentifier
- The identifier of the cluster for which information about snapshots is
requested.public DescribeClusterSnapshotsRequest withClusterIdentifier(java.lang.String clusterIdentifier)
Returns a reference to this object so that method calls can be chained together.
clusterIdentifier
- The identifier of the cluster for which information about snapshots is
requested.
public java.lang.String getSnapshotIdentifier()
public void setSnapshotIdentifier(java.lang.String snapshotIdentifier)
snapshotIdentifier
- The snapshot identifier of the snapshot about which to return
information.public DescribeClusterSnapshotsRequest withSnapshotIdentifier(java.lang.String snapshotIdentifier)
Returns a reference to this object so that method calls can be chained together.
snapshotIdentifier
- The snapshot identifier of the snapshot about which to return
information.
public java.lang.String getSnapshotType()
Valid Values:
automated
| manual
Valid Values:
automated
| manual
public void setSnapshotType(java.lang.String snapshotType)
Valid Values:
automated
| manual
snapshotType
- The type of snapshots for which you are requesting information. By
default, snapshots of all types are returned. Valid Values:
automated
| manual
public DescribeClusterSnapshotsRequest withSnapshotType(java.lang.String snapshotType)
Valid Values:
automated
| manual
Returns a reference to this object so that method calls can be chained together.
snapshotType
- The type of snapshots for which you are requesting information. By
default, snapshots of all types are returned. Valid Values:
automated
| manual
public java.util.Date getStartTime()
Example: 2012-07-16T18:00:00Z
Example: 2012-07-16T18:00:00Z
public void setStartTime(java.util.Date startTime)
Example: 2012-07-16T18:00:00Z
startTime
- A value that requests only snapshots created at or after the specified
time. The time value is specified in ISO 8601 format. For more
information about ISO 8601, go to the ISO8601 Wikipedia
page. Example: 2012-07-16T18:00:00Z
public DescribeClusterSnapshotsRequest withStartTime(java.util.Date startTime)
Example: 2012-07-16T18:00:00Z
Returns a reference to this object so that method calls can be chained together.
startTime
- A value that requests only snapshots created at or after the specified
time. The time value is specified in ISO 8601 format. For more
information about ISO 8601, go to the ISO8601 Wikipedia
page. Example: 2012-07-16T18:00:00Z
public java.util.Date getEndTime()
Example: 2012-07-16T18:00:00Z
Example: 2012-07-16T18:00:00Z
public void setEndTime(java.util.Date endTime)
Example: 2012-07-16T18:00:00Z
endTime
- A time value that requests only snapshots created at or before the
specified time. The time value is specified in ISO 8601 format. For
more information about ISO 8601, go to the ISO8601 Wikipedia
page. Example: 2012-07-16T18:00:00Z
public DescribeClusterSnapshotsRequest withEndTime(java.util.Date endTime)
Example: 2012-07-16T18:00:00Z
Returns a reference to this object so that method calls can be chained together.
endTime
- A time value that requests only snapshots created at or before the
specified time. The time value is specified in ISO 8601 format. For
more information about ISO 8601, go to the ISO8601 Wikipedia
page. Example: 2012-07-16T18:00:00Z
public java.lang.Integer getMaxRecords()
MaxRecords
value,
the response returns a marker that you can use in a subsequent
DescribeClusterSnapshots request in order to retrieve the next
set of snapshot records. Default: 100
Constraints: Must be at least 20 and no more than 100.
MaxRecords
value,
the response returns a marker that you can use in a subsequent
DescribeClusterSnapshots request in order to retrieve the next
set of snapshot records. Default: 100
Constraints: Must be at least 20 and no more than 100.
public void setMaxRecords(java.lang.Integer maxRecords)
MaxRecords
value,
the response returns a marker that you can use in a subsequent
DescribeClusterSnapshots request in order to retrieve the next
set of snapshot records. Default: 100
Constraints: Must be at least 20 and no more than 100.
maxRecords
- The maximum number of snapshot records to include in the response. If
more records exist than the specified MaxRecords
value,
the response returns a marker that you can use in a subsequent
DescribeClusterSnapshots request in order to retrieve the next
set of snapshot records. Default: 100
Constraints: Must be at least 20 and no more than 100.
public DescribeClusterSnapshotsRequest withMaxRecords(java.lang.Integer maxRecords)
MaxRecords
value,
the response returns a marker that you can use in a subsequent
DescribeClusterSnapshots request in order to retrieve the next
set of snapshot records. Default: 100
Constraints: Must be at least 20 and no more than 100.
Returns a reference to this object so that method calls can be chained together.
maxRecords
- The maximum number of snapshot records to include in the response. If
more records exist than the specified MaxRecords
value,
the response returns a marker that you can use in a subsequent
DescribeClusterSnapshots request in order to retrieve the next
set of snapshot records. Default: 100
Constraints: Must be at least 20 and no more than 100.
public java.lang.String getMarker()
public void setMarker(java.lang.String marker)
marker
- An optional marker returned by a previous
DescribeClusterSnapshots request to indicate the first snapshot
that the request will return.public DescribeClusterSnapshotsRequest withMarker(java.lang.String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- An optional marker returned by a previous
DescribeClusterSnapshots request to indicate the first snapshot
that the request will return.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |