Class CfnApi.DnsMapProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.CfnApi.DnsMapProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApi.DnsMapProperty>
- Enclosing interface:
CfnApi.DnsMapProperty
@Stability(Stable)
public static final class CfnApi.DnsMapProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApi.DnsMapProperty>
A builder for
CfnApi.DnsMapProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnApi.DnsMapProperty.getHttp()Sets the value ofCfnApi.DnsMapProperty.getRealtime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
http
Sets the value ofCfnApi.DnsMapProperty.getHttp()- Parameters:
http- The domain name of the Api's HTTP endpoint.- Returns:
this
-
realtime
Sets the value ofCfnApi.DnsMapProperty.getRealtime()- Parameters:
realtime- The domain name of the Api's real-time endpoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApi.DnsMapProperty>- Returns:
- a new instance of
CfnApi.DnsMapProperty - Throws:
NullPointerException- if any required attribute was not provided
-