public static interface AddOnRequest.Builder extends SdkPojo, CopyableBuilder<AddOnRequest.Builder,AddOnRequest>
| Modifier and Type | Method and Description |
|---|---|
AddOnRequest.Builder |
addOnType(AddOnType addOnType)
The add-on type.
|
AddOnRequest.Builder |
addOnType(String addOnType)
The add-on type.
|
AddOnRequest.Builder |
autoSnapshotAddOnRequest(AutoSnapshotAddOnRequest autoSnapshotAddOnRequest)
An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.
|
default AddOnRequest.Builder |
autoSnapshotAddOnRequest(Consumer<AutoSnapshotAddOnRequest.Builder> autoSnapshotAddOnRequest)
An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.
|
default AddOnRequest.Builder |
stopInstanceOnIdleRequest(Consumer<StopInstanceOnIdleRequest.Builder> stopInstanceOnIdleRequest)
An object that represents additional parameters when enabling or modifying the
StopInstanceOnIdle add-on. |
AddOnRequest.Builder |
stopInstanceOnIdleRequest(StopInstanceOnIdleRequest stopInstanceOnIdleRequest)
An object that represents additional parameters when enabling or modifying the
StopInstanceOnIdle add-on. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAddOnRequest.Builder addOnType(String addOnType)
The add-on type.
AddOnRequest.Builder addOnType(AddOnType addOnType)
The add-on type.
AddOnRequest.Builder autoSnapshotAddOnRequest(AutoSnapshotAddOnRequest autoSnapshotAddOnRequest)
An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.
autoSnapshotAddOnRequest - An object that represents additional parameters when enabling or modifying the automatic snapshot
add-on.default AddOnRequest.Builder autoSnapshotAddOnRequest(Consumer<AutoSnapshotAddOnRequest.Builder> autoSnapshotAddOnRequest)
An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.
This is a convenience method that creates an instance of theAutoSnapshotAddOnRequest.Builder
avoiding the need to create one manually via AutoSnapshotAddOnRequest.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to autoSnapshotAddOnRequest(AutoSnapshotAddOnRequest).
autoSnapshotAddOnRequest - a consumer that will call methods on AutoSnapshotAddOnRequest.BuilderautoSnapshotAddOnRequest(AutoSnapshotAddOnRequest)AddOnRequest.Builder stopInstanceOnIdleRequest(StopInstanceOnIdleRequest stopInstanceOnIdleRequest)
An object that represents additional parameters when enabling or modifying the
StopInstanceOnIdle add-on.
This object only applies to Lightsail for Research resources.
stopInstanceOnIdleRequest - An object that represents additional parameters when enabling or modifying the
StopInstanceOnIdle add-on. This object only applies to Lightsail for Research resources.
default AddOnRequest.Builder stopInstanceOnIdleRequest(Consumer<StopInstanceOnIdleRequest.Builder> stopInstanceOnIdleRequest)
An object that represents additional parameters when enabling or modifying the
StopInstanceOnIdle add-on.
This object only applies to Lightsail for Research resources.
StopInstanceOnIdleRequest.Builder avoiding the need to create one manually via
StopInstanceOnIdleRequest.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to stopInstanceOnIdleRequest(StopInstanceOnIdleRequest).
stopInstanceOnIdleRequest - a consumer that will call methods on StopInstanceOnIdleRequest.BuilderstopInstanceOnIdleRequest(StopInstanceOnIdleRequest)Copyright © 2023. All rights reserved.