Interface AwsCloudFrontDistributionDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsCloudFrontDistributionDetails.Builder,AwsCloudFrontDistributionDetails>,SdkBuilder<AwsCloudFrontDistributionDetails.Builder,AwsCloudFrontDistributionDetails>,SdkPojo
- Enclosing class:
- AwsCloudFrontDistributionDetails
public static interface AwsCloudFrontDistributionDetails.Builder extends SdkPojo, CopyableBuilder<AwsCloudFrontDistributionDetails.Builder,AwsCloudFrontDistributionDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AwsCloudFrontDistributionDetails.BuildercacheBehaviors(Consumer<AwsCloudFrontDistributionCacheBehaviors.Builder> cacheBehaviors)Provides information about the cache configuration for the distribution.AwsCloudFrontDistributionDetails.BuildercacheBehaviors(AwsCloudFrontDistributionCacheBehaviors cacheBehaviors)Provides information about the cache configuration for the distribution.default AwsCloudFrontDistributionDetails.BuilderdefaultCacheBehavior(Consumer<AwsCloudFrontDistributionDefaultCacheBehavior.Builder> defaultCacheBehavior)The default cache behavior for the configuration.AwsCloudFrontDistributionDetails.BuilderdefaultCacheBehavior(AwsCloudFrontDistributionDefaultCacheBehavior defaultCacheBehavior)The default cache behavior for the configuration.AwsCloudFrontDistributionDetails.BuilderdefaultRootObject(String defaultRootObject)The object that CloudFront sends in response to requests from the origin (for example, index.html) when a viewer requests the root URL for the distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html).AwsCloudFrontDistributionDetails.BuilderdomainName(String domainName)The domain name corresponding to the distribution.AwsCloudFrontDistributionDetails.BuildereTag(String eTag)The entity tag is a hash of the object.AwsCloudFrontDistributionDetails.BuilderlastModifiedTime(String lastModifiedTime)Indicates when that the distribution was last modified.default AwsCloudFrontDistributionDetails.Builderlogging(Consumer<AwsCloudFrontDistributionLogging.Builder> logging)A complex type that controls whether access logs are written for the distribution.AwsCloudFrontDistributionDetails.Builderlogging(AwsCloudFrontDistributionLogging logging)A complex type that controls whether access logs are written for the distribution.default AwsCloudFrontDistributionDetails.BuilderoriginGroups(Consumer<AwsCloudFrontDistributionOriginGroups.Builder> originGroups)Provides information about the origin groups in the distribution.AwsCloudFrontDistributionDetails.BuilderoriginGroups(AwsCloudFrontDistributionOriginGroups originGroups)Provides information about the origin groups in the distribution.default AwsCloudFrontDistributionDetails.Builderorigins(Consumer<AwsCloudFrontDistributionOrigins.Builder> origins)A complex type that contains information about origins for this distribution.AwsCloudFrontDistributionDetails.Builderorigins(AwsCloudFrontDistributionOrigins origins)A complex type that contains information about origins for this distribution.AwsCloudFrontDistributionDetails.Builderstatus(String status)Indicates the current status of the distribution.default AwsCloudFrontDistributionDetails.BuilderviewerCertificate(Consumer<AwsCloudFrontDistributionViewerCertificate.Builder> viewerCertificate)Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.AwsCloudFrontDistributionDetails.BuilderviewerCertificate(AwsCloudFrontDistributionViewerCertificate viewerCertificate)Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.AwsCloudFrontDistributionDetails.BuilderwebAclId(String webAclId)A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution.-
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
-
cacheBehaviors
AwsCloudFrontDistributionDetails.Builder cacheBehaviors(AwsCloudFrontDistributionCacheBehaviors cacheBehaviors)
Provides information about the cache configuration for the distribution.
- Parameters:
cacheBehaviors- Provides information about the cache configuration for the distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheBehaviors
default AwsCloudFrontDistributionDetails.Builder cacheBehaviors(Consumer<AwsCloudFrontDistributionCacheBehaviors.Builder> cacheBehaviors)
Provides information about the cache configuration for the distribution.
This is a convenience method that creates an instance of theAwsCloudFrontDistributionCacheBehaviors.Builderavoiding the need to create one manually viaAwsCloudFrontDistributionCacheBehaviors.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocacheBehaviors(AwsCloudFrontDistributionCacheBehaviors).- Parameters:
cacheBehaviors- a consumer that will call methods onAwsCloudFrontDistributionCacheBehaviors.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cacheBehaviors(AwsCloudFrontDistributionCacheBehaviors)
-
defaultCacheBehavior
AwsCloudFrontDistributionDetails.Builder defaultCacheBehavior(AwsCloudFrontDistributionDefaultCacheBehavior defaultCacheBehavior)
The default cache behavior for the configuration.
- Parameters:
defaultCacheBehavior- The default cache behavior for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultCacheBehavior
default AwsCloudFrontDistributionDetails.Builder defaultCacheBehavior(Consumer<AwsCloudFrontDistributionDefaultCacheBehavior.Builder> defaultCacheBehavior)
The default cache behavior for the configuration.
This is a convenience method that creates an instance of theAwsCloudFrontDistributionDefaultCacheBehavior.Builderavoiding the need to create one manually viaAwsCloudFrontDistributionDefaultCacheBehavior.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultCacheBehavior(AwsCloudFrontDistributionDefaultCacheBehavior).- Parameters:
defaultCacheBehavior- a consumer that will call methods onAwsCloudFrontDistributionDefaultCacheBehavior.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
defaultCacheBehavior(AwsCloudFrontDistributionDefaultCacheBehavior)
-
defaultRootObject
AwsCloudFrontDistributionDetails.Builder defaultRootObject(String defaultRootObject)
The object that CloudFront sends in response to requests from the origin (for example, index.html) when a viewer requests the root URL for the distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html).
- Parameters:
defaultRootObject- The object that CloudFront sends in response to requests from the origin (for example, index.html) when a viewer requests the root URL for the distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
AwsCloudFrontDistributionDetails.Builder domainName(String domainName)
The domain name corresponding to the distribution.
- Parameters:
domainName- The domain name corresponding to the distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eTag
AwsCloudFrontDistributionDetails.Builder eTag(String eTag)
The entity tag is a hash of the object.
- Parameters:
eTag- The entity tag is a hash of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
AwsCloudFrontDistributionDetails.Builder lastModifiedTime(String lastModifiedTime)
Indicates when that the distribution was last modified.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Parameters:
lastModifiedTime- Indicates when that the distribution was last modified.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logging
AwsCloudFrontDistributionDetails.Builder logging(AwsCloudFrontDistributionLogging logging)
A complex type that controls whether access logs are written for the distribution.
- Parameters:
logging- A complex type that controls whether access logs are written for the distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logging
default AwsCloudFrontDistributionDetails.Builder logging(Consumer<AwsCloudFrontDistributionLogging.Builder> logging)
A complex type that controls whether access logs are written for the distribution.
This is a convenience method that creates an instance of theAwsCloudFrontDistributionLogging.Builderavoiding the need to create one manually viaAwsCloudFrontDistributionLogging.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologging(AwsCloudFrontDistributionLogging).- Parameters:
logging- a consumer that will call methods onAwsCloudFrontDistributionLogging.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
logging(AwsCloudFrontDistributionLogging)
-
origins
AwsCloudFrontDistributionDetails.Builder origins(AwsCloudFrontDistributionOrigins origins)
A complex type that contains information about origins for this distribution.
- Parameters:
origins- A complex type that contains information about origins for this distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
origins
default AwsCloudFrontDistributionDetails.Builder origins(Consumer<AwsCloudFrontDistributionOrigins.Builder> origins)
A complex type that contains information about origins for this distribution.
This is a convenience method that creates an instance of theAwsCloudFrontDistributionOrigins.Builderavoiding the need to create one manually viaAwsCloudFrontDistributionOrigins.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorigins(AwsCloudFrontDistributionOrigins).- Parameters:
origins- a consumer that will call methods onAwsCloudFrontDistributionOrigins.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
origins(AwsCloudFrontDistributionOrigins)
-
originGroups
AwsCloudFrontDistributionDetails.Builder originGroups(AwsCloudFrontDistributionOriginGroups originGroups)
Provides information about the origin groups in the distribution.
- Parameters:
originGroups- Provides information about the origin groups in the distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originGroups
default AwsCloudFrontDistributionDetails.Builder originGroups(Consumer<AwsCloudFrontDistributionOriginGroups.Builder> originGroups)
Provides information about the origin groups in the distribution.
This is a convenience method that creates an instance of theAwsCloudFrontDistributionOriginGroups.Builderavoiding the need to create one manually viaAwsCloudFrontDistributionOriginGroups.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooriginGroups(AwsCloudFrontDistributionOriginGroups).- Parameters:
originGroups- a consumer that will call methods onAwsCloudFrontDistributionOriginGroups.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
originGroups(AwsCloudFrontDistributionOriginGroups)
-
viewerCertificate
AwsCloudFrontDistributionDetails.Builder viewerCertificate(AwsCloudFrontDistributionViewerCertificate viewerCertificate)
Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.
- Parameters:
viewerCertificate- Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
viewerCertificate
default AwsCloudFrontDistributionDetails.Builder viewerCertificate(Consumer<AwsCloudFrontDistributionViewerCertificate.Builder> viewerCertificate)
Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.
This is a convenience method that creates an instance of theAwsCloudFrontDistributionViewerCertificate.Builderavoiding the need to create one manually viaAwsCloudFrontDistributionViewerCertificate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toviewerCertificate(AwsCloudFrontDistributionViewerCertificate).- Parameters:
viewerCertificate- a consumer that will call methods onAwsCloudFrontDistributionViewerCertificate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
viewerCertificate(AwsCloudFrontDistributionViewerCertificate)
-
status
AwsCloudFrontDistributionDetails.Builder status(String status)
Indicates the current status of the distribution.
- Parameters:
status- Indicates the current status of the distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webAclId
AwsCloudFrontDistributionDetails.Builder webAclId(String webAclId)
A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution.
- Parameters:
webAclId- A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-