Class ListChangedBlocksRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ebs.model.EbsRequest
-
- software.amazon.awssdk.services.ebs.model.ListChangedBlocksRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListChangedBlocksRequest.Builder,ListChangedBlocksRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListChangedBlocksRequest extends EbsRequest implements ToCopyableBuilder<ListChangedBlocksRequest.Builder,ListChangedBlocksRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListChangedBlocksRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListChangedBlocksRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfirstSnapshotId()The ID of the first snapshot to use for the comparison.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of blocks to be returned by the request.StringnextToken()The token to request the next page of results.List<SdkField<?>>sdkFields()StringsecondSnapshotId()The ID of the second snapshot to use for the comparison.static Class<? extends ListChangedBlocksRequest.Builder>serializableBuilderClass()IntegerstartingBlockIndex()The block index from which the comparison should start.ListChangedBlocksRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
firstSnapshotId
public final String firstSnapshotId()
The ID of the first snapshot to use for the comparison.
The
FirstSnapshotIDparameter must be specified with aSecondSnapshotIdparameter; otherwise, an error occurs.- Returns:
- The ID of the first snapshot to use for the comparison.
The
FirstSnapshotIDparameter must be specified with aSecondSnapshotIdparameter; otherwise, an error occurs.
-
secondSnapshotId
public final String secondSnapshotId()
The ID of the second snapshot to use for the comparison.
The
SecondSnapshotIdparameter must be specified with aFirstSnapshotIDparameter; otherwise, an error occurs.- Returns:
- The ID of the second snapshot to use for the comparison.
The
SecondSnapshotIdparameter must be specified with aFirstSnapshotIDparameter; otherwise, an error occurs.
-
nextToken
public final String nextToken()
The token to request the next page of results.
If you specify NextToken, then StartingBlockIndex is ignored.
- Returns:
- The token to request the next page of results.
If you specify NextToken, then StartingBlockIndex is ignored.
-
maxResults
public final Integer maxResults()
The maximum number of blocks to be returned by the request.
Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than MaxResults or an empty array of blocks.
To retrieve the next set of blocks from the snapshot, make another request with the returned NextToken value. The value of NextToken is
nullwhen there are no more blocks to return.- Returns:
- The maximum number of blocks to be returned by the request.
Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than MaxResults or an empty array of blocks.
To retrieve the next set of blocks from the snapshot, make another request with the returned NextToken value. The value of NextToken is
nullwhen there are no more blocks to return.
-
startingBlockIndex
public final Integer startingBlockIndex()
The block index from which the comparison should start.
The list in the response will start from this block index or the next valid block index in the snapshots.
If you specify NextToken, then StartingBlockIndex is ignored.
- Returns:
- The block index from which the comparison should start.
The list in the response will start from this block index or the next valid block index in the snapshots.
If you specify NextToken, then StartingBlockIndex is ignored.
-
toBuilder
public ListChangedBlocksRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListChangedBlocksRequest.Builder,ListChangedBlocksRequest>- Specified by:
toBuilderin classEbsRequest
-
builder
public static ListChangedBlocksRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListChangedBlocksRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-