Class CfnDistributionTenant.DomainResultProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnDistributionTenant.DomainResultProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDistributionTenant.DomainResultProperty>
- Enclosing interface:
CfnDistributionTenant.DomainResultProperty
@Stability(Stable)
public static final class CfnDistributionTenant.DomainResultProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDistributionTenant.DomainResultProperty>
A builder for
CfnDistributionTenant.DomainResultProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDistributionTenant.DomainResultProperty.getDomain()Sets the value ofCfnDistributionTenant.DomainResultProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domain
Sets the value ofCfnDistributionTenant.DomainResultProperty.getDomain()- Parameters:
domain- The specified domain.- Returns:
this
-
status
Sets the value ofCfnDistributionTenant.DomainResultProperty.getStatus()- Parameters:
status- Whether the domain is active or inactive.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDistributionTenant.DomainResultProperty>- Returns:
- a new instance of
CfnDistributionTenant.DomainResultProperty - Throws:
NullPointerException- if any required attribute was not provided
-