com.amazonaws.services.cloudfront.model

## クラス StreamingDistributionConfig

- java.lang.Object
- - com.amazonaws.services.cloudfront.model.StreamingDistributionConfig

- すべての実装されたインタフェース:
    java.io.Serializable

      public class StreamingDistributionConfig
      extends java.lang.Object
      implements java.io.Serializable

  The configuration for the streaming distribution.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `StreamingDistributionConfig()` Default constructor for a new StreamingDistributionConfig object.
    `StreamingDistributionConfig(java.lang.String callerReference, S3Origin s3Origin, java.lang.Boolean enabled)` Constructs a new StreamingDistributionConfig object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `Aliases` | `getAliases()` A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
    `java.lang.String` | `getCallerReference()` A unique number that ensures the request can't be replayed.
    `java.lang.String` | `getComment()` Any comments you want to include about the streaming distribution.
    `java.lang.Boolean` | `getEnabled()` Whether the streaming distribution is enabled to accept end user requests for content.
    `StreamingLoggingConfig` | `getLogging()` A complex type that controls whether access logs are written for the streaming distribution.
    `java.lang.String` | `getPriceClass()` A complex type that contains information about price class for this streaming distribution.
    `S3Origin` | `getS3Origin()` A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
    `TrustedSigners` | `getTrustedSigners()` A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isEnabled()` Whether the streaming distribution is enabled to accept end user requests for content.
    `void` | `setAliases(Aliases aliases)` A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
    `void` | `setCallerReference(java.lang.String callerReference)` A unique number that ensures the request can't be replayed.
    `void` | `setComment(java.lang.String comment)` Any comments you want to include about the streaming distribution.
    `void` | `setEnabled(java.lang.Boolean enabled)` Whether the streaming distribution is enabled to accept end user requests for content.
    `void` | `setLogging(StreamingLoggingConfig logging)` A complex type that controls whether access logs are written for the streaming distribution.
    `void` | `setPriceClass(PriceClass priceClass)` A complex type that contains information about price class for this streaming distribution.
    `void` | `setPriceClass(java.lang.String priceClass)` A complex type that contains information about price class for this streaming distribution.
    `void` | `setS3Origin(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.
    `void` | `setTrustedSigners(TrustedSigners trustedSigners)` A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `StreamingDistributionConfig` | `withAliases(Aliases aliases)` A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
    `StreamingDistributionConfig` | `withCallerReference(java.lang.String callerReference)` A unique number that ensures the request can't be replayed.
    `StreamingDistributionConfig` | `withComment(java.lang.String comment)` Any comments you want to include about the streaming distribution.
    `StreamingDistributionConfig` | `withEnabled(java.lang.Boolean enabled)` Whether the streaming distribution is enabled to accept end user requests for content.
    `StreamingDistributionConfig` | `withLogging(StreamingLoggingConfig logging)` A complex type that controls whether access logs are written for the streaming distribution.
    `StreamingDistributionConfig` | `withPriceClass(PriceClass priceClass)` A complex type that contains information about price class for this streaming distribution.
    `StreamingDistributionConfig` | `withPriceClass(java.lang.String priceClass)` A complex type that contains information about price class for this streaming distribution.
    `StreamingDistributionConfig` | `withS3Origin(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.
    `StreamingDistributionConfig` | `withTrustedSigners(TrustedSigners trustedSigners)` A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### StreamingDistributionConfig

          public StreamingDistributionConfig()

      Default constructor for a new StreamingDistributionConfig object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### StreamingDistributionConfig

          public StreamingDistributionConfig(java.lang.String callerReference,
                                     S3Origin s3Origin,
                                     java.lang.Boolean enabled)

      Constructs a new StreamingDistributionConfig object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `callerReference` - A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.
        `s3Origin` - A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
        `enabled` - Whether the streaming distribution is enabled to accept end user requests for content.

  - ### メソッドの詳細

    - #### getCallerReference

          public java.lang.String getCallerReference()

      A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.
      戻り値:
        A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.

    - #### setCallerReference

          public void setCallerReference(java.lang.String callerReference)

      A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.
      パラメータ:
        `callerReference` - A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.

    - #### withCallerReference

          public StreamingDistributionConfig withCallerReference(java.lang.String callerReference)

      A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `callerReference` - A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.

    - #### getS3Origin

          public S3Origin getS3Origin()

      A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
      戻り値:
        A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

    - #### setS3Origin

          public void setS3Origin(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.
      パラメータ:
        `s3Origin` - A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

    - #### withS3Origin

          public StreamingDistributionConfig withS3Origin(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.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `s3Origin` - A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

    - #### getAliases

          public Aliases getAliases()

      A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
      戻り値:
        A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

    - #### setAliases

          public void setAliases(Aliases aliases)

      A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
      パラメータ:
        `aliases` - A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

    - #### withAliases

          public StreamingDistributionConfig withAliases(Aliases aliases)

      A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `aliases` - A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

    - #### getComment

          public java.lang.String getComment()

      Any comments you want to include about the streaming distribution.
      戻り値:
        Any comments you want to include about the streaming distribution.

    - #### setComment

          public void setComment(java.lang.String comment)

      Any comments you want to include about the streaming distribution.
      パラメータ:
        `comment` - Any comments you want to include about the streaming distribution.

    - #### withComment

          public StreamingDistributionConfig withComment(java.lang.String comment)

      Any comments you want to include about the streaming distribution.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `comment` - Any comments you want to include about the streaming distribution.

    - #### getLogging

          public StreamingLoggingConfig getLogging()

      A complex type that controls whether access logs are written for the streaming distribution.
      戻り値:
        A complex type that controls whether access logs are written for the streaming distribution.

    - #### setLogging

          public void setLogging(StreamingLoggingConfig logging)

      A complex type that controls whether access logs are written for the streaming distribution.
      パラメータ:
        `logging` - A complex type that controls whether access logs are written for the streaming distribution.

    - #### withLogging

          public StreamingDistributionConfig withLogging(StreamingLoggingConfig logging)

      A complex type that controls whether access logs are written for the streaming distribution.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `logging` - A complex type that controls whether access logs are written for the streaming distribution.

    - #### getTrustedSigners

          public TrustedSigners getTrustedSigners()

      A complex type that specifies the AWS 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, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.
      戻り値:
        A complex type that specifies the AWS 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, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

    - #### setTrustedSigners

          public void setTrustedSigners(TrustedSigners trustedSigners)

      A complex type that specifies the AWS 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, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.
      パラメータ:
        `trustedSigners` - A complex type that specifies the AWS 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, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

    - #### withTrustedSigners

          public StreamingDistributionConfig withTrustedSigners(TrustedSigners trustedSigners)

      A complex type that specifies the AWS 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, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `trustedSigners` - A complex type that specifies the AWS 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, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

    - #### getPriceClass

          public java.lang.String getPriceClass()

      A complex type that contains information about price class for this streaming distribution.

      Constraints:
      Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All

      戻り値:
        A complex type that contains information about price class for this streaming distribution.
      関連項目:
        `PriceClass`

    - #### setPriceClass

          public void setPriceClass(java.lang.String priceClass)

      A complex type that contains information about price class for this streaming distribution.

      Constraints:
      Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All

      パラメータ:
        `priceClass` - A complex type that contains information about price class for this streaming distribution.
      関連項目:
        `PriceClass`

    - #### withPriceClass

          public StreamingDistributionConfig withPriceClass(java.lang.String priceClass)

      A complex type that contains information about price class for this streaming distribution.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All

      パラメータ:
        `priceClass` - A complex type that contains information about price class for this streaming distribution.
      関連項目:
        `PriceClass`

    - #### setPriceClass

          public void setPriceClass(PriceClass priceClass)

      A complex type that contains information about price class for this streaming distribution.

      Constraints:
      Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All

      パラメータ:
        `priceClass` - A complex type that contains information about price class for this streaming distribution.
      関連項目:
        `PriceClass`

    - #### withPriceClass

          public StreamingDistributionConfig withPriceClass(PriceClass priceClass)

      A complex type that contains information about price class for this streaming distribution.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All

      パラメータ:
        `priceClass` - A complex type that contains information about price class for this streaming distribution.
      関連項目:
        `PriceClass`

    - #### isEnabled

          public java.lang.Boolean isEnabled()

      Whether the streaming distribution is enabled to accept end user requests for content.
      戻り値:
        Whether the streaming distribution is enabled to accept end user requests for content.

    - #### setEnabled

          public void setEnabled(java.lang.Boolean enabled)

      Whether the streaming distribution is enabled to accept end user requests for content.
      パラメータ:
        `enabled` - Whether the streaming distribution is enabled to accept end user requests for content.

    - #### withEnabled

          public StreamingDistributionConfig withEnabled(java.lang.Boolean enabled)

      Whether the streaming distribution is enabled to accept end user requests for content.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `enabled` - Whether the streaming distribution is enabled to accept end user requests for content.

    - #### getEnabled

          public java.lang.Boolean getEnabled()

      Whether the streaming distribution is enabled to accept end user requests for content.
      戻り値:
        Whether the streaming distribution is enabled to accept end user requests for content.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`