Interface AddOnRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AddOnRequest.Builder,
,AddOnRequest> SdkBuilder<AddOnRequest.Builder,
,AddOnRequest> SdkPojo
- Enclosing class:
AddOnRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe add-on type.The add-on type.default AddOnRequest.Builder
autoSnapshotAddOnRequest
(Consumer<AutoSnapshotAddOnRequest.Builder> autoSnapshotAddOnRequest) An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.autoSnapshotAddOnRequest
(AutoSnapshotAddOnRequest 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 theStopInstanceOnIdle
add-on.stopInstanceOnIdleRequest
(StopInstanceOnIdleRequest stopInstanceOnIdleRequest) An object that represents additional parameters when enabling or modifying theStopInstanceOnIdle
add-on.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 Details
-
addOnType
The add-on type.
- Parameters:
addOnType
- The add-on type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addOnType
The add-on type.
- Parameters:
addOnType
- The add-on type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoSnapshotAddOnRequest
An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.
- Parameters:
autoSnapshotAddOnRequest
- An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoSnapshotAddOnRequest
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 viaAutoSnapshotAddOnRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoSnapshotAddOnRequest(AutoSnapshotAddOnRequest)
.- Parameters:
autoSnapshotAddOnRequest
- a consumer that will call methods onAutoSnapshotAddOnRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stopInstanceOnIdleRequest
An object that represents additional parameters when enabling or modifying the
StopInstanceOnIdle
add-on.This object only applies to Lightsail for Research resources.
- Parameters:
stopInstanceOnIdleRequest
- An object that represents additional parameters when enabling or modifying theStopInstanceOnIdle
add-on.This object only applies to Lightsail for Research resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopInstanceOnIdleRequest
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 viaStopInstanceOnIdleRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostopInstanceOnIdleRequest(StopInstanceOnIdleRequest)
.- Parameters:
stopInstanceOnIdleRequest
- a consumer that will call methods onStopInstanceOnIdleRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-