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.BuilderautoSnapshotAddOnRequest(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.BuilderstopInstanceOnIdleRequest(Consumer<StopInstanceOnIdleRequest.Builder> stopInstanceOnIdleRequest) An object that represents additional parameters when enabling or modifying theStopInstanceOnIdleadd-on.stopInstanceOnIdleRequest(StopInstanceOnIdleRequest stopInstanceOnIdleRequest) An object that represents additional parameters when enabling or modifying theStopInstanceOnIdleadd-on.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaAutoSnapshotAddOnRequest.builder().When the
Consumercompletes,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
StopInstanceOnIdleadd-on.This object only applies to Lightsail for Research resources.
- Parameters:
stopInstanceOnIdleRequest- An object that represents additional parameters when enabling or modifying theStopInstanceOnIdleadd-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
StopInstanceOnIdleadd-on. This is a convenience method that creates an instance of theThis object only applies to Lightsail for Research resources.
StopInstanceOnIdleRequest.Builderavoiding the need to create one manually viaStopInstanceOnIdleRequest.builder().When the
Consumercompletes,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:
-