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