Class CfnCacheClusterPropsMixin.EndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticache.CfnCacheClusterPropsMixin.EndpointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCacheClusterPropsMixin.EndpointProperty>
- Enclosing interface:
CfnCacheClusterPropsMixin.EndpointProperty
@Stability(Stable)
public static final class CfnCacheClusterPropsMixin.EndpointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCacheClusterPropsMixin.EndpointProperty>
A builder for
CfnCacheClusterPropsMixin.EndpointProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnCacheClusterPropsMixin.EndpointProperty.getAddress()build()Builds the configured instance.Sets the value ofCfnCacheClusterPropsMixin.EndpointProperty.getPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
address
@Stability(Stable) public CfnCacheClusterPropsMixin.EndpointProperty.Builder address(String address) Sets the value ofCfnCacheClusterPropsMixin.EndpointProperty.getAddress()- Parameters:
address- the value to be set.- Returns:
this
-
port
Sets the value ofCfnCacheClusterPropsMixin.EndpointProperty.getPort()- Parameters:
port- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCacheClusterPropsMixin.EndpointProperty>- Returns:
- a new instance of
CfnCacheClusterPropsMixin.EndpointProperty - Throws:
NullPointerException- if any required attribute was not provided
-