Interface DistributionTenantSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DistributionTenantSummary.Builder,DistributionTenantSummary>,SdkBuilder<DistributionTenantSummary.Builder,DistributionTenantSummary>,SdkPojo
- Enclosing class:
- DistributionTenantSummary
@Mutable @NotThreadSafe public static interface DistributionTenantSummary.Builder extends SdkPojo, CopyableBuilder<DistributionTenantSummary.Builder,DistributionTenantSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DistributionTenantSummary.Builderarn(String arn)The Amazon Resource Name (ARN) of the distribution tenant.DistributionTenantSummary.BuilderconnectionGroupId(String connectionGroupId)The ID of the connection group ID for the distribution tenant.DistributionTenantSummary.BuildercreatedTime(Instant createdTime)The date and time when the distribution tenant was created.default DistributionTenantSummary.Buildercustomizations(Consumer<Customizations.Builder> customizations)Customizations for the distribution tenant.DistributionTenantSummary.Buildercustomizations(Customizations customizations)Customizations for the distribution tenant.DistributionTenantSummary.BuilderdistributionId(String distributionId)The identifier for the multi-tenant distribution.DistributionTenantSummary.Builderdomains(Collection<DomainResult> domains)The domains associated with the distribution tenant.DistributionTenantSummary.Builderdomains(Consumer<DomainResult.Builder>... domains)The domains associated with the distribution tenant.DistributionTenantSummary.Builderdomains(DomainResult... domains)The domains associated with the distribution tenant.DistributionTenantSummary.Builderenabled(Boolean enabled)Indicates whether the distribution tenants are in an enabled state.DistributionTenantSummary.BuildereTag(String eTag)The current version of the distribution tenant.DistributionTenantSummary.Builderid(String id)The ID of the distribution tenant.DistributionTenantSummary.BuilderlastModifiedTime(Instant lastModifiedTime)The date and time when the distribution tenant was updated.DistributionTenantSummary.Buildername(String name)The name of the distribution tenant.DistributionTenantSummary.Builderstatus(String status)The status of the distribution tenant.-
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
DistributionTenantSummary.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
DistributionTenantSummary.Builder distributionId(String distributionId)
The identifier for the multi-tenant distribution. For example:
EDFDVBD632BHDS5.- Parameters:
distributionId- The identifier for the multi-tenant distribution. For example:EDFDVBD632BHDS5.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
DistributionTenantSummary.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
DistributionTenantSummary.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
DistributionTenantSummary.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
DistributionTenantSummary.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
DistributionTenantSummary.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)
-
connectionGroupId
DistributionTenantSummary.Builder connectionGroupId(String connectionGroupId)
The ID of the connection group ID 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 ID 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.
-
customizations
DistributionTenantSummary.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 DistributionTenantSummary.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)
-
createdTime
DistributionTenantSummary.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
DistributionTenantSummary.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.
-
eTag
DistributionTenantSummary.Builder eTag(String eTag)
The current version of the distribution tenant.
- Parameters:
eTag- The current version of the distribution tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
DistributionTenantSummary.Builder enabled(Boolean enabled)
Indicates whether the distribution tenants are in an enabled state. If disabled, the distribution tenant won't service traffic.
- Parameters:
enabled- Indicates whether the distribution tenants are in an enabled state. If disabled, the distribution tenant won't service traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DistributionTenantSummary.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.
-
-