Class CfnDomainPropsMixin.ServiceSoftwareOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchservice.CfnDomainPropsMixin.ServiceSoftwareOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainPropsMixin.ServiceSoftwareOptionsProperty>
- Enclosing interface:
CfnDomainPropsMixin.ServiceSoftwareOptionsProperty
@Stability(Stable)
public static final class CfnDomainPropsMixin.ServiceSoftwareOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainPropsMixin.ServiceSoftwareOptionsProperty>
A builder for
CfnDomainPropsMixin.ServiceSoftwareOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautomatedUpdateDate(String automatedUpdateDate) build()Builds the configured instance.cancellable(Boolean cancellable) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getCancellable()cancellable(IResolvable cancellable) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getCancellable()currentVersion(String currentVersion) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getCurrentVersion()description(String description) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getDescription()newVersion(String newVersion) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getNewVersion()optionalDeployment(Boolean optionalDeployment) optionalDeployment(IResolvable optionalDeployment) updateAvailable(Boolean updateAvailable) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getUpdateAvailable()updateAvailable(IResolvable updateAvailable) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getUpdateAvailable()updateStatus(String updateStatus) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getUpdateStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
automatedUpdateDate
@Stability(Stable) public CfnDomainPropsMixin.ServiceSoftwareOptionsProperty.Builder automatedUpdateDate(String automatedUpdateDate) - Parameters:
automatedUpdateDate- The timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.- Returns:
this
-
cancellable
@Stability(Stable) public CfnDomainPropsMixin.ServiceSoftwareOptionsProperty.Builder cancellable(Boolean cancellable) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getCancellable()- Parameters:
cancellable- True if you're able to cancel your service software version update. False if you can't cancel your service software update.- Returns:
this
-
cancellable
@Stability(Stable) public CfnDomainPropsMixin.ServiceSoftwareOptionsProperty.Builder cancellable(IResolvable cancellable) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getCancellable()- Parameters:
cancellable- True if you're able to cancel your service software version update. False if you can't cancel your service software update.- Returns:
this
-
currentVersion
@Stability(Stable) public CfnDomainPropsMixin.ServiceSoftwareOptionsProperty.Builder currentVersion(String currentVersion) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getCurrentVersion()- Parameters:
currentVersion- The current service software version present on the domain.- Returns:
this
-
description
@Stability(Stable) public CfnDomainPropsMixin.ServiceSoftwareOptionsProperty.Builder description(String description) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getDescription()- Parameters:
description- A description of the service software update status.- Returns:
this
-
newVersion
@Stability(Stable) public CfnDomainPropsMixin.ServiceSoftwareOptionsProperty.Builder newVersion(String newVersion) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getNewVersion()- Parameters:
newVersion- The new service software version, if one is available.- Returns:
this
-
optionalDeployment
@Stability(Stable) public CfnDomainPropsMixin.ServiceSoftwareOptionsProperty.Builder optionalDeployment(Boolean optionalDeployment) - Parameters:
optionalDeployment- True if a service software is never automatically updated. False if a service software is automatically updated after the automated update date.- Returns:
this
-
optionalDeployment
@Stability(Stable) public CfnDomainPropsMixin.ServiceSoftwareOptionsProperty.Builder optionalDeployment(IResolvable optionalDeployment) - Parameters:
optionalDeployment- True if a service software is never automatically updated. False if a service software is automatically updated after the automated update date.- Returns:
this
-
updateAvailable
@Stability(Stable) public CfnDomainPropsMixin.ServiceSoftwareOptionsProperty.Builder updateAvailable(Boolean updateAvailable) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getUpdateAvailable()- Parameters:
updateAvailable- True if you're able to update your service software version. False if you can't update your service software version.- Returns:
this
-
updateAvailable
@Stability(Stable) public CfnDomainPropsMixin.ServiceSoftwareOptionsProperty.Builder updateAvailable(IResolvable updateAvailable) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getUpdateAvailable()- Parameters:
updateAvailable- True if you're able to update your service software version. False if you can't update your service software version.- Returns:
this
-
updateStatus
@Stability(Stable) public CfnDomainPropsMixin.ServiceSoftwareOptionsProperty.Builder updateStatus(String updateStatus) Sets the value ofCfnDomainPropsMixin.ServiceSoftwareOptionsProperty.getUpdateStatus()- Parameters:
updateStatus- The status of your service software update.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainPropsMixin.ServiceSoftwareOptionsProperty>- Returns:
- a new instance of
CfnDomainPropsMixin.ServiceSoftwareOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-