Interface DistributionTenant.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DistributionTenant.Builder,DistributionTenant>,SdkBuilder<DistributionTenant.Builder,DistributionTenant>,SdkPojo
- Enclosing class:
- DistributionTenant
@Mutable @NotThreadSafe public static interface DistributionTenant.Builder extends SdkPojo, CopyableBuilder<DistributionTenant.Builder,DistributionTenant>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DistributionTenant.Builderarn(String arn)The Amazon Resource Name (ARN) of the distribution tenant.DistributionTenant.BuilderconnectionGroupId(String connectionGroupId)The ID of the connection group for the distribution tenant.DistributionTenant.BuildercreatedTime(Instant createdTime)The date and time when the distribution tenant was created.default DistributionTenant.Buildercustomizations(Consumer<Customizations.Builder> customizations)Customizations for the distribution tenant.DistributionTenant.Buildercustomizations(Customizations customizations)Customizations for the distribution tenant.DistributionTenant.BuilderdistributionId(String distributionId)The ID of the multi-tenant distribution.DistributionTenant.Builderdomains(Collection<DomainResult> domains)The domains associated with the distribution tenant.DistributionTenant.Builderdomains(Consumer<DomainResult.Builder>... domains)The domains associated with the distribution tenant.DistributionTenant.Builderdomains(DomainResult... domains)The domains associated with the distribution tenant.DistributionTenant.Builderenabled(Boolean enabled)Indicates whether the distribution tenant is in an enabled state.DistributionTenant.Builderid(String id)The ID of the distribution tenant.DistributionTenant.BuilderlastModifiedTime(Instant lastModifiedTime)The date and time when the distribution tenant was updated.DistributionTenant.Buildername(String name)The name of the distribution tenant.DistributionTenant.Builderparameters(Collection<Parameter> parameters)A list of parameter values to add to the resource.DistributionTenant.Builderparameters(Consumer<Parameter.Builder>... parameters)A list of parameter values to add to the resource.DistributionTenant.Builderparameters(Parameter... parameters)A list of parameter values to add to the resource.DistributionTenant.Builderstatus(String status)The status of the distribution tenant.default DistributionTenant.Buildertags(Consumer<Tags.Builder> tags)Sets the value of the Tags property for this object.DistributionTenant.Buildertags(Tags tags)Sets the value of the Tags property for this object.-
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
-
id
DistributionTenant.Builder id(String id)
The ID of the distribution tenant.
- Parameters:
id- The ID of the distribution tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distributionId
DistributionTenant.Builder distributionId(String distributionId)
The ID of the multi-tenant distribution.
- Parameters:
distributionId- The ID of the multi-tenant distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
DistributionTenant.Builder name(String name)
The name of the distribution tenant.
- Parameters:
name- The name of the distribution tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
DistributionTenant.Builder arn(String arn)
The Amazon Resource Name (ARN) of the distribution tenant.
- Parameters:
arn- The Amazon Resource Name (ARN) of the distribution tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
DistributionTenant.Builder domains(Collection<DomainResult> domains)
The domains associated with the distribution tenant.
- Parameters:
domains- The domains associated with the distribution tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
DistributionTenant.Builder domains(DomainResult... domains)
The domains associated with the distribution tenant.
- Parameters:
domains- The domains associated with the distribution tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
DistributionTenant.Builder domains(Consumer<DomainResult.Builder>... domains)
The domains associated with the distribution tenant.
This is a convenience method that creates an instance of theDomainResult.Builderavoiding the need to create one manually viaDomainResult.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 onDomainResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#domains(java.util.Collection)
-
tags
DistributionTenant.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 DistributionTenant.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
DistributionTenant.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 DistributionTenant.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
DistributionTenant.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
DistributionTenant.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
DistributionTenant.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
DistributionTenant.Builder connectionGroupId(String 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
DistributionTenant.Builder createdTime(Instant createdTime)
The date and time when the distribution tenant was created.
- Parameters:
createdTime- The date and time when the distribution tenant was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
DistributionTenant.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time when the distribution tenant was updated.
- Parameters:
lastModifiedTime- The date and time when the distribution tenant was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
DistributionTenant.Builder enabled(Boolean enabled)
Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.
- Parameters:
enabled- Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DistributionTenant.Builder status(String status)
The status of the distribution tenant.
- Parameters:
status- The status of the distribution tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-