Interface CreateDistributionTenantRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFrontRequest.Builder,CopyableBuilder<CreateDistributionTenantRequest.Builder,CreateDistributionTenantRequest>,SdkBuilder<CreateDistributionTenantRequest.Builder,CreateDistributionTenantRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDistributionTenantRequest
@Mutable @NotThreadSafe public static interface CreateDistributionTenantRequest.Builder extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<CreateDistributionTenantRequest.Builder,CreateDistributionTenantRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDistributionTenantRequest.BuilderconnectionGroupId(String connectionGroupId)The ID of the connection group to associate with the distribution tenant.default CreateDistributionTenantRequest.Buildercustomizations(Consumer<Customizations.Builder> customizations)Customizations for the distribution tenant.CreateDistributionTenantRequest.Buildercustomizations(Customizations customizations)Customizations for the distribution tenant.CreateDistributionTenantRequest.BuilderdistributionId(String distributionId)The ID of the multi-tenant distribution to use for creating the distribution tenant.CreateDistributionTenantRequest.Builderdomains(Collection<DomainItem> domains)The domains associated with the distribution tenant.CreateDistributionTenantRequest.Builderdomains(Consumer<DomainItem.Builder>... domains)The domains associated with the distribution tenant.CreateDistributionTenantRequest.Builderdomains(DomainItem... domains)The domains associated with the distribution tenant.CreateDistributionTenantRequest.Builderenabled(Boolean enabled)Indicates whether the distribution tenant should be enabled when created.default CreateDistributionTenantRequest.BuildermanagedCertificateRequest(Consumer<ManagedCertificateRequest.Builder> managedCertificateRequest)The configuration for the CloudFront managed ACM certificate request.CreateDistributionTenantRequest.BuildermanagedCertificateRequest(ManagedCertificateRequest managedCertificateRequest)The configuration for the CloudFront managed ACM certificate request.CreateDistributionTenantRequest.Buildername(String name)The name of the distribution tenant.CreateDistributionTenantRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDistributionTenantRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDistributionTenantRequest.Builderparameters(Collection<Parameter> parameters)A list of parameter values to add to the resource.CreateDistributionTenantRequest.Builderparameters(Consumer<Parameter.Builder>... parameters)A list of parameter values to add to the resource.CreateDistributionTenantRequest.Builderparameters(Parameter... parameters)A list of parameter values to add to the resource.default CreateDistributionTenantRequest.Buildertags(Consumer<Tags.Builder> tags)Sets the value of the Tags property for this object.CreateDistributionTenantRequest.Buildertags(Tags tags)Sets the value of the Tags property for this object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
distributionId
CreateDistributionTenantRequest.Builder distributionId(String distributionId)
The ID of the multi-tenant distribution to use for creating the distribution tenant.
- Parameters:
distributionId- The ID of the multi-tenant distribution to use for creating the distribution tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateDistributionTenantRequest.Builder name(String name)
The name of the distribution tenant. Enter a friendly identifier that is unique within your Amazon Web Services account. This name can't be updated after you create the distribution tenant.
- Parameters:
name- The name of the distribution tenant. Enter a friendly identifier that is unique within your Amazon Web Services account. This name can't be updated after you create the distribution tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
CreateDistributionTenantRequest.Builder domains(Collection<DomainItem> domains)
The domains associated with the distribution tenant. You must specify at least one domain in the request.
- Parameters:
domains- The domains associated with the distribution tenant. You must specify at least one domain in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
CreateDistributionTenantRequest.Builder domains(DomainItem... domains)
The domains associated with the distribution tenant. You must specify at least one domain in the request.
- Parameters:
domains- The domains associated with the distribution tenant. You must specify at least one domain in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
CreateDistributionTenantRequest.Builder domains(Consumer<DomainItem.Builder>... domains)
The domains associated with the distribution tenant. You must specify at least one domain in the request.
This is a convenience method that creates an instance of theDomainItem.Builderavoiding the need to create one manually viaDomainItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#domains(List.) - Parameters:
domains- a consumer that will call methods onDomainItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#domains(java.util.Collection)
-
tags
CreateDistributionTenantRequest.Builder tags(Tags tags)
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
default CreateDistributionTenantRequest.Builder tags(Consumer<Tags.Builder> tags)
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTags.Builderavoiding the need to create one manually viaTags.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(Tags).- Parameters:
tags- a consumer that will call methods onTags.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tags(Tags)
-
customizations
CreateDistributionTenantRequest.Builder customizations(Customizations 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 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.
- 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 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:
- Returns a reference to this object so that method calls can be chained together.
-
customizations
default CreateDistributionTenantRequest.Builder customizations(Consumer<Customizations.Builder> 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 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.
This is a convenience method that creates an instance of theCustomizations.Builderavoiding the need to create one manually viaCustomizations.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomizations(Customizations).- Parameters:
customizations- a consumer that will call methods onCustomizations.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
customizations(Customizations)
-
parameters
CreateDistributionTenantRequest.Builder parameters(Collection<Parameter> 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
CreateDistributionTenantRequest.Builder parameters(Parameter... 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
CreateDistributionTenantRequest.Builder parameters(Consumer<Parameter.Builder>... 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.
This is a convenience method that creates an instance of theParameter.Builderavoiding the need to create one manually viaParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#parameters(List.) - Parameters:
parameters- a consumer that will call methods onParameter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#parameters(java.util.Collection)
-
connectionGroupId
CreateDistributionTenantRequest.Builder connectionGroupId(String connectionGroupId)
The ID of the connection group to associate with the distribution tenant.
- Parameters:
connectionGroupId- The ID of the connection group to associate with the distribution tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedCertificateRequest
CreateDistributionTenantRequest.Builder managedCertificateRequest(ManagedCertificateRequest managedCertificateRequest)
The configuration for the CloudFront managed ACM certificate request.
- Parameters:
managedCertificateRequest- The configuration for the CloudFront managed ACM certificate request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedCertificateRequest
default CreateDistributionTenantRequest.Builder managedCertificateRequest(Consumer<ManagedCertificateRequest.Builder> managedCertificateRequest)
The configuration for the CloudFront managed ACM certificate request.
This is a convenience method that creates an instance of theManagedCertificateRequest.Builderavoiding the need to create one manually viaManagedCertificateRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanagedCertificateRequest(ManagedCertificateRequest).- Parameters:
managedCertificateRequest- a consumer that will call methods onManagedCertificateRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
managedCertificateRequest(ManagedCertificateRequest)
-
enabled
CreateDistributionTenantRequest.Builder enabled(Boolean enabled)
Indicates whether the distribution tenant should be enabled when created. If the distribution tenant is disabled, the distribution tenant won't serve traffic.
- Parameters:
enabled- Indicates whether the distribution tenant should be enabled when created. If the distribution tenant is disabled, the distribution tenant won't serve traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDistributionTenantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDistributionTenantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-