Interface InstanceSpecification.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceSpecification.Builder,InstanceSpecification>
,SdkBuilder<InstanceSpecification.Builder,InstanceSpecification>
,SdkPojo
- Enclosing class:
- InstanceSpecification
public static interface InstanceSpecification.Builder extends SdkPojo, CopyableBuilder<InstanceSpecification.Builder,InstanceSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceSpecification.Builder
excludeBootVolume(Boolean excludeBootVolume)
Excludes the root volume from being snapshotted.InstanceSpecification.Builder
excludeDataVolumeIds(String... excludeDataVolumeIds)
The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set.InstanceSpecification.Builder
excludeDataVolumeIds(Collection<String> excludeDataVolumeIds)
The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set.InstanceSpecification.Builder
instanceId(String instanceId)
The instance to specify which volumes should be snapshotted.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
instanceId
InstanceSpecification.Builder instanceId(String instanceId)
The instance to specify which volumes should be snapshotted.
- Parameters:
instanceId
- The instance to specify which volumes should be snapshotted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeBootVolume
InstanceSpecification.Builder excludeBootVolume(Boolean excludeBootVolume)
Excludes the root volume from being snapshotted.
- Parameters:
excludeBootVolume
- Excludes the root volume from being snapshotted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeDataVolumeIds
InstanceSpecification.Builder excludeDataVolumeIds(Collection<String> excludeDataVolumeIds)
The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.
You can specify up to 40 volume IDs per request.
- Parameters:
excludeDataVolumeIds
- The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.You can specify up to 40 volume IDs per request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeDataVolumeIds
InstanceSpecification.Builder excludeDataVolumeIds(String... excludeDataVolumeIds)
The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.
You can specify up to 40 volume IDs per request.
- Parameters:
excludeDataVolumeIds
- The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.You can specify up to 40 volume IDs per request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-