Class CfnDistributionTenantMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnDistributionTenantMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDistributionTenantMixinProps>
- Enclosing interface:
CfnDistributionTenantMixinProps
@Stability(Stable)
public static final class CfnDistributionTenantMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDistributionTenantMixinProps>
A builder for
CfnDistributionTenantMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionGroupId(String connectionGroupId) Sets the value ofCfnDistributionTenantMixinProps.getConnectionGroupId()customizations(CfnDistributionTenantPropsMixin.CustomizationsProperty customizations) Sets the value ofCfnDistributionTenantMixinProps.getCustomizations()customizations(IResolvable customizations) Sets the value ofCfnDistributionTenantMixinProps.getCustomizations()distributionId(String distributionId) Sets the value ofCfnDistributionTenantMixinProps.getDistributionId()Sets the value ofCfnDistributionTenantMixinProps.getDomains()Sets the value ofCfnDistributionTenantMixinProps.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnDistributionTenantMixinProps.getEnabled()managedCertificateRequest(CfnDistributionTenantPropsMixin.ManagedCertificateRequestProperty managedCertificateRequest) Sets the value ofCfnDistributionTenantMixinProps.getManagedCertificateRequest()managedCertificateRequest(IResolvable managedCertificateRequest) Sets the value ofCfnDistributionTenantMixinProps.getManagedCertificateRequest()Sets the value ofCfnDistributionTenantMixinProps.getName()parameters(List<? extends Object> parameters) Sets the value ofCfnDistributionTenantMixinProps.getParameters()parameters(IResolvable parameters) Sets the value ofCfnDistributionTenantMixinProps.getParameters()Sets the value ofCfnDistributionTenantMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionGroupId
@Stability(Stable) public CfnDistributionTenantMixinProps.Builder connectionGroupId(String connectionGroupId) Sets the value ofCfnDistributionTenantMixinProps.getConnectionGroupId()- Parameters:
connectionGroupId- The ID of the connection group for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group.- Returns:
this
-
customizations
@Stability(Stable) public CfnDistributionTenantMixinProps.Builder customizations(IResolvable customizations) Sets the value ofCfnDistributionTenantMixinProps.getCustomizations()- Parameters:
customizations- Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and AWS WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.- Returns:
this
-
customizations
@Stability(Stable) public CfnDistributionTenantMixinProps.Builder customizations(CfnDistributionTenantPropsMixin.CustomizationsProperty customizations) Sets the value ofCfnDistributionTenantMixinProps.getCustomizations()- Parameters:
customizations- Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and AWS WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.- Returns:
this
-
distributionId
@Stability(Stable) public CfnDistributionTenantMixinProps.Builder distributionId(String distributionId) Sets the value ofCfnDistributionTenantMixinProps.getDistributionId()- Parameters:
distributionId- The ID of the multi-tenant distribution.- Returns:
this
-
domains
Sets the value ofCfnDistributionTenantMixinProps.getDomains()- Parameters:
domains- The domains associated with the distribution tenant.- Returns:
this
-
enabled
Sets the value ofCfnDistributionTenantMixinProps.getEnabled()- Parameters:
enabled- Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.- Returns:
this
-
enabled
Sets the value ofCfnDistributionTenantMixinProps.getEnabled()- Parameters:
enabled- Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.- Returns:
this
-
managedCertificateRequest
@Stability(Stable) public CfnDistributionTenantMixinProps.Builder managedCertificateRequest(IResolvable managedCertificateRequest) Sets the value ofCfnDistributionTenantMixinProps.getManagedCertificateRequest()- Parameters:
managedCertificateRequest- An object that represents the request for the Amazon CloudFront managed ACM certificate.- Returns:
this
-
managedCertificateRequest
@Stability(Stable) public CfnDistributionTenantMixinProps.Builder managedCertificateRequest(CfnDistributionTenantPropsMixin.ManagedCertificateRequestProperty managedCertificateRequest) Sets the value ofCfnDistributionTenantMixinProps.getManagedCertificateRequest()- Parameters:
managedCertificateRequest- An object that represents the request for the Amazon CloudFront managed ACM certificate.- Returns:
this
-
name
Sets the value ofCfnDistributionTenantMixinProps.getName()- Parameters:
name- The name of the distribution tenant.- Returns:
this
-
parameters
@Stability(Stable) public CfnDistributionTenantMixinProps.Builder parameters(IResolvable parameters) Sets the value ofCfnDistributionTenantMixinProps.getParameters()- Parameters:
parameters- A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.- Returns:
this
-
parameters
@Stability(Stable) public CfnDistributionTenantMixinProps.Builder parameters(List<? extends Object> parameters) Sets the value ofCfnDistributionTenantMixinProps.getParameters()- Parameters:
parameters- A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.- Returns:
this
-
tags
Sets the value ofCfnDistributionTenantMixinProps.getTags()- Parameters:
tags- A complex type that contains zero or moreTagelements.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDistributionTenantMixinProps>- Returns:
- a new instance of
CfnDistributionTenantMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-