Interface StreamingDistributionSummary.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<StreamingDistributionSummary.Builder,StreamingDistributionSummary>
,SdkBuilder<StreamingDistributionSummary.Builder,StreamingDistributionSummary>
,SdkPojo
- Enclosing class:
- StreamingDistributionSummary
public static interface StreamingDistributionSummary.Builder extends SdkPojo, CopyableBuilder<StreamingDistributionSummary.Builder,StreamingDistributionSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StreamingDistributionSummary.Builder
aliases(Consumer<Aliases.Builder> aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.StreamingDistributionSummary.Builder
aliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.StreamingDistributionSummary.Builder
arn(String arn)
The ARN (Amazon Resource Name) for the streaming distribution.StreamingDistributionSummary.Builder
comment(String comment)
The comment originally specified when this distribution was created.StreamingDistributionSummary.Builder
domainName(String domainName)
The domain name corresponding to the distribution, for example,d111111abcdef8.cloudfront.net
.StreamingDistributionSummary.Builder
enabled(Boolean enabled)
Whether the distribution is enabled to accept end user requests for content.StreamingDistributionSummary.Builder
id(String id)
The identifier for the distribution, for example,EDFDVBD632BHDS5
.StreamingDistributionSummary.Builder
lastModifiedTime(Instant lastModifiedTime)
The date and time the distribution was last modified.StreamingDistributionSummary.Builder
priceClass(String priceClass)
A complex type that contains information about price class for this streaming distribution.StreamingDistributionSummary.Builder
priceClass(PriceClass priceClass)
A complex type that contains information about price class for this streaming distribution.default StreamingDistributionSummary.Builder
s3Origin(Consumer<S3Origin.Builder> s3Origin)
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.StreamingDistributionSummary.Builder
s3Origin(S3Origin s3Origin)
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.StreamingDistributionSummary.Builder
status(String status)
Indicates the current status of the distribution.default StreamingDistributionSummary.Builder
trustedSigners(Consumer<TrustedSigners.Builder> trustedSigners)
A complex type that specifies the Amazon Web Services accounts, if any, that you want to allow to create signed URLs for private content.StreamingDistributionSummary.Builder
trustedSigners(TrustedSigners trustedSigners)
A complex type that specifies the Amazon Web Services accounts, if any, that you want to allow to create signed URLs for private content.-
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, sdkFields
-
-
-
-
Method Detail
-
id
StreamingDistributionSummary.Builder id(String id)
The identifier for the distribution, for example,
EDFDVBD632BHDS5
.- Parameters:
id
- The identifier for the distribution, for example,EDFDVBD632BHDS5
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
StreamingDistributionSummary.Builder arn(String arn)
The ARN (Amazon Resource Name) for the streaming distribution. For example:
arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5
, where123456789012
is your Amazon Web Services account ID.- Parameters:
arn
- The ARN (Amazon Resource Name) for the streaming distribution. For example:arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5
, where123456789012
is your Amazon Web Services account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
StreamingDistributionSummary.Builder status(String status)
Indicates the current status of the distribution. When the status is
Deployed
, the distribution's information is fully propagated throughout the Amazon CloudFront system.- Parameters:
status
- Indicates the current status of the distribution. When the status isDeployed
, the distribution's information is fully propagated throughout the Amazon CloudFront system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
StreamingDistributionSummary.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time the distribution was last modified.
- Parameters:
lastModifiedTime
- The date and time the distribution was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
StreamingDistributionSummary.Builder domainName(String domainName)
The domain name corresponding to the distribution, for example,
d111111abcdef8.cloudfront.net
.- Parameters:
domainName
- The domain name corresponding to the distribution, for example,d111111abcdef8.cloudfront.net
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Origin
StreamingDistributionSummary.Builder s3Origin(S3Origin s3Origin)
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
- Parameters:
s3Origin
- A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Origin
default StreamingDistributionSummary.Builder s3Origin(Consumer<S3Origin.Builder> s3Origin)
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
This is a convenience method that creates an instance of theS3Origin.Builder
avoiding the need to create one manually viaS3Origin.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Origin(S3Origin)
.- Parameters:
s3Origin
- a consumer that will call methods onS3Origin.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Origin(S3Origin)
-
aliases
StreamingDistributionSummary.Builder aliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
- Parameters:
aliases
- A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliases
default StreamingDistributionSummary.Builder aliases(Consumer<Aliases.Builder> aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
This is a convenience method that creates an instance of theAliases.Builder
avoiding the need to create one manually viaAliases.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaliases(Aliases)
.- Parameters:
aliases
- a consumer that will call methods onAliases.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
aliases(Aliases)
-
trustedSigners
StreamingDistributionSummary.Builder trustedSigners(TrustedSigners trustedSigners)
A complex type that specifies the Amazon Web Services accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the
PathPattern
for this cache behavior, specifytrue
forEnabled
, and specify the applicable values forQuantity
andItems
.If you don't want to require signed URLs in requests for objects that matchPathPattern
, specifyfalse
forEnabled
and0
forQuantity
. OmitItems
. To add, change, or remove one or more trusted signers, changeEnabled
totrue
(if it's currentlyfalse
), changeQuantity
as applicable, and specify all of the trusted signers that you want to include in the updated distribution.For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
- Parameters:
trustedSigners
- A complex type that specifies the Amazon Web Services accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match thePathPattern
for this cache behavior, specifytrue
forEnabled
, and specify the applicable values forQuantity
andItems
.If you don't want to require signed URLs in requests for objects that matchPathPattern
, specifyfalse
forEnabled
and0
forQuantity
. OmitItems
. To add, change, or remove one or more trusted signers, changeEnabled
totrue
(if it's currentlyfalse
), changeQuantity
as applicable, and specify all of the trusted signers that you want to include in the updated distribution.For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustedSigners
default StreamingDistributionSummary.Builder trustedSigners(Consumer<TrustedSigners.Builder> trustedSigners)
A complex type that specifies the Amazon Web Services accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the
PathPattern
for this cache behavior, specifytrue
forEnabled
, and specify the applicable values forQuantity
andItems
.If you don't want to require signed URLs in requests for objects that matchPathPattern
, specifyfalse
forEnabled
and0
forQuantity
. OmitItems
. To add, change, or remove one or more trusted signers, changeEnabled
totrue
(if it's currentlyfalse
), changeQuantity
as applicable, and specify all of the trusted signers that you want to include in the updated distribution.For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
This is a convenience method that creates an instance of theTrustedSigners.Builder
avoiding the need to create one manually viaTrustedSigners.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrustedSigners(TrustedSigners)
.- Parameters:
trustedSigners
- a consumer that will call methods onTrustedSigners.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
trustedSigners(TrustedSigners)
-
comment
StreamingDistributionSummary.Builder comment(String comment)
The comment originally specified when this distribution was created.
- Parameters:
comment
- The comment originally specified when this distribution was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priceClass
StreamingDistributionSummary.Builder priceClass(String priceClass)
A complex type that contains information about price class for this streaming distribution.
- Parameters:
priceClass
- A complex type that contains information about price class for this streaming distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PriceClass
,PriceClass
-
priceClass
StreamingDistributionSummary.Builder priceClass(PriceClass priceClass)
A complex type that contains information about price class for this streaming distribution.
- Parameters:
priceClass
- A complex type that contains information about price class for this streaming distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PriceClass
,PriceClass
-
enabled
StreamingDistributionSummary.Builder enabled(Boolean enabled)
Whether the distribution is enabled to accept end user requests for content.
- Parameters:
enabled
- Whether the distribution is enabled to accept end user requests for content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-