Class YarnNetworkSetting.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.javascript.YarnNetworkSetting.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<YarnNetworkSetting>
- Enclosing interface:
- YarnNetworkSetting
@Stability(Experimental) public static final class YarnNetworkSetting.Builder extends Object implements software.amazon.jsii.Builder<YarnNetworkSetting>
A builder forYarnNetworkSetting
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
caFilePath
@Stability(Deprecated) @Deprecated public YarnNetworkSetting.Builder caFilePath(String caFilePath)
Deprecated.- use httpsCaFilePath in Yarn v4 and newerSets the value ofYarnNetworkSetting.getCaFilePath()- Parameters:
caFilePath- the value to be set.- Returns:
this
-
enableNetwork
@Stability(Experimental) public YarnNetworkSetting.Builder enableNetwork(Boolean enableNetwork)
Sets the value ofYarnNetworkSetting.getEnableNetwork()- Parameters:
enableNetwork- the value to be set.- Returns:
this
-
httpProxy
@Stability(Experimental) public YarnNetworkSetting.Builder httpProxy(String httpProxy)
Sets the value ofYarnNetworkSetting.getHttpProxy()- Parameters:
httpProxy- the value to be set.- Returns:
this
-
httpsCaFilePath
@Stability(Experimental) public YarnNetworkSetting.Builder httpsCaFilePath(String httpsCaFilePath)
Sets the value ofYarnNetworkSetting.getHttpsCaFilePath()- Parameters:
httpsCaFilePath- the value to be set.- Returns:
this
-
httpsCertFilePath
@Stability(Experimental) public YarnNetworkSetting.Builder httpsCertFilePath(String httpsCertFilePath)
Sets the value ofYarnNetworkSetting.getHttpsCertFilePath()- Parameters:
httpsCertFilePath- the value to be set.- Returns:
this
-
httpsKeyFilePath
@Stability(Experimental) public YarnNetworkSetting.Builder httpsKeyFilePath(String httpsKeyFilePath)
Sets the value ofYarnNetworkSetting.getHttpsKeyFilePath()- Parameters:
httpsKeyFilePath- the value to be set.- Returns:
this
-
httpsProxy
@Stability(Experimental) public YarnNetworkSetting.Builder httpsProxy(String httpsProxy)
Sets the value ofYarnNetworkSetting.getHttpsProxy()- Parameters:
httpsProxy- the value to be set.- Returns:
this
-
build
@Stability(Experimental) public YarnNetworkSetting build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<YarnNetworkSetting>- Returns:
- a new instance of
YarnNetworkSetting - Throws:
NullPointerException- if any required attribute was not provided
-
-