public static interface CreateInstanceSnapshotRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<CreateInstanceSnapshotRequest.Builder,CreateInstanceSnapshotRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateInstanceSnapshotRequest.Builder |
instanceName(String instanceName)
The Lightsail instance on which to base your snapshot.
|
CreateInstanceSnapshotRequest.Builder |
instanceSnapshotName(String instanceSnapshotName)
The name for your new snapshot.
|
CreateInstanceSnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateInstanceSnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateInstanceSnapshotRequest.Builder |
tags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
|
CreateInstanceSnapshotRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values to add to the resource during create.
|
CreateInstanceSnapshotRequest.Builder |
tags(Tag... tags)
The tag keys and optional values to add to the resource during create.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateInstanceSnapshotRequest.Builder instanceSnapshotName(String instanceSnapshotName)
The name for your new snapshot.
instanceSnapshotName - The name for your new snapshot.CreateInstanceSnapshotRequest.Builder instanceName(String instanceName)
The Lightsail instance on which to base your snapshot.
instanceName - The Lightsail instance on which to base your snapshot.CreateInstanceSnapshotRequest.Builder tags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
tags - The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
CreateInstanceSnapshotRequest.Builder tags(Tag... tags)
The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
tags - The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
CreateInstanceSnapshotRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
Tag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateInstanceSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateInstanceSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.