Class CfnDistributionTenantPropsMixin.DomainResultProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnDistributionTenantPropsMixin.DomainResultProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDistributionTenantPropsMixin.DomainResultProperty>
- Enclosing interface:
CfnDistributionTenantPropsMixin.DomainResultProperty
@Stability(Stable)
public static final class CfnDistributionTenantPropsMixin.DomainResultProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDistributionTenantPropsMixin.DomainResultProperty>
A builder for
CfnDistributionTenantPropsMixin.DomainResultProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDistributionTenantPropsMixin.DomainResultProperty.getDomain()Sets the value ofCfnDistributionTenantPropsMixin.DomainResultProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domain
@Stability(Stable) public CfnDistributionTenantPropsMixin.DomainResultProperty.Builder domain(String domain) Sets the value ofCfnDistributionTenantPropsMixin.DomainResultProperty.getDomain()- Parameters:
domain- The specified domain.- Returns:
this
-
status
@Stability(Stable) public CfnDistributionTenantPropsMixin.DomainResultProperty.Builder status(String status) Sets the value ofCfnDistributionTenantPropsMixin.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<CfnDistributionTenantPropsMixin.DomainResultProperty>- Returns:
- a new instance of
CfnDistributionTenantPropsMixin.DomainResultProperty - Throws:
NullPointerException- if any required attribute was not provided
-