@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDistributionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDistributionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDistributionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<CacheBehaviorPerPath> |
getCacheBehaviors()
An array of objects that describe the per-path cache behavior for the distribution.
|
CacheSettings |
getCacheBehaviorSettings()
An object that describes the cache behavior settings for the distribution.
|
String |
getCertificateName()
The name of the SSL/TLS certificate that you want to attach to the distribution.
|
CacheBehavior |
getDefaultCacheBehavior()
An object that describes the default cache behavior for the distribution.
|
String |
getDistributionName()
The name of the distribution to update.
|
Boolean |
getIsEnabled()
Indicates whether to enable the distribution.
|
InputOrigin |
getOrigin()
An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load
balancer.
|
Boolean |
getUseDefaultCertificate()
Indicates whether the default SSL/TLS certificate is attached to the distribution.
|
String |
getViewerMinimumTlsProtocolVersion()
Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the
distribution.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether to enable the distribution.
|
Boolean |
isUseDefaultCertificate()
Indicates whether the default SSL/TLS certificate is attached to the distribution.
|
void |
setCacheBehaviors(Collection<CacheBehaviorPerPath> cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
|
void |
setCacheBehaviorSettings(CacheSettings cacheBehaviorSettings)
An object that describes the cache behavior settings for the distribution.
|
void |
setCertificateName(String certificateName)
The name of the SSL/TLS certificate that you want to attach to the distribution.
|
void |
setDefaultCacheBehavior(CacheBehavior defaultCacheBehavior)
An object that describes the default cache behavior for the distribution.
|
void |
setDistributionName(String distributionName)
The name of the distribution to update.
|
void |
setIsEnabled(Boolean isEnabled)
Indicates whether to enable the distribution.
|
void |
setOrigin(InputOrigin origin)
An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load
balancer.
|
void |
setUseDefaultCertificate(Boolean useDefaultCertificate)
Indicates whether the default SSL/TLS certificate is attached to the distribution.
|
void |
setViewerMinimumTlsProtocolVersion(String viewerMinimumTlsProtocolVersion)
Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the
distribution.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDistributionRequest |
withCacheBehaviors(CacheBehaviorPerPath... cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
|
UpdateDistributionRequest |
withCacheBehaviors(Collection<CacheBehaviorPerPath> cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
|
UpdateDistributionRequest |
withCacheBehaviorSettings(CacheSettings cacheBehaviorSettings)
An object that describes the cache behavior settings for the distribution.
|
UpdateDistributionRequest |
withCertificateName(String certificateName)
The name of the SSL/TLS certificate that you want to attach to the distribution.
|
UpdateDistributionRequest |
withDefaultCacheBehavior(CacheBehavior defaultCacheBehavior)
An object that describes the default cache behavior for the distribution.
|
UpdateDistributionRequest |
withDistributionName(String distributionName)
The name of the distribution to update.
|
UpdateDistributionRequest |
withIsEnabled(Boolean isEnabled)
Indicates whether to enable the distribution.
|
UpdateDistributionRequest |
withOrigin(InputOrigin origin)
An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load
balancer.
|
UpdateDistributionRequest |
withUseDefaultCertificate(Boolean useDefaultCertificate)
Indicates whether the default SSL/TLS certificate is attached to the distribution.
|
UpdateDistributionRequest |
withViewerMinimumTlsProtocolVersion(String viewerMinimumTlsProtocolVersion)
Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the
distribution.
|
UpdateDistributionRequest |
withViewerMinimumTlsProtocolVersion(ViewerMinimumTlsProtocolVersionEnum viewerMinimumTlsProtocolVersion)
Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the
distribution.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDistributionName(String distributionName)
The name of the distribution to update.
Use the GetDistributions
action to get a list of distribution names that you can specify.
distributionName
- The name of the distribution to update.
Use the GetDistributions
action to get a list of distribution names that you can specify.
public String getDistributionName()
The name of the distribution to update.
Use the GetDistributions
action to get a list of distribution names that you can specify.
Use the GetDistributions
action to get a list of distribution names that you can specify.
public UpdateDistributionRequest withDistributionName(String distributionName)
The name of the distribution to update.
Use the GetDistributions
action to get a list of distribution names that you can specify.
distributionName
- The name of the distribution to update.
Use the GetDistributions
action to get a list of distribution names that you can specify.
public void setOrigin(InputOrigin origin)
An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load balancer.
The distribution pulls, caches, and serves content from the origin.
origin
- An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket,
or load balancer.
The distribution pulls, caches, and serves content from the origin.
public InputOrigin getOrigin()
An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load balancer.
The distribution pulls, caches, and serves content from the origin.
The distribution pulls, caches, and serves content from the origin.
public UpdateDistributionRequest withOrigin(InputOrigin origin)
An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load balancer.
The distribution pulls, caches, and serves content from the origin.
origin
- An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket,
or load balancer.
The distribution pulls, caches, and serves content from the origin.
public void setDefaultCacheBehavior(CacheBehavior defaultCacheBehavior)
An object that describes the default cache behavior for the distribution.
defaultCacheBehavior
- An object that describes the default cache behavior for the distribution.public CacheBehavior getDefaultCacheBehavior()
An object that describes the default cache behavior for the distribution.
public UpdateDistributionRequest withDefaultCacheBehavior(CacheBehavior defaultCacheBehavior)
An object that describes the default cache behavior for the distribution.
defaultCacheBehavior
- An object that describes the default cache behavior for the distribution.public void setCacheBehaviorSettings(CacheSettings cacheBehaviorSettings)
An object that describes the cache behavior settings for the distribution.
The cacheBehaviorSettings
specified in your UpdateDistributionRequest
will replace your
distribution's existing settings.
cacheBehaviorSettings
- An object that describes the cache behavior settings for the distribution.
The cacheBehaviorSettings
specified in your UpdateDistributionRequest
will
replace your distribution's existing settings.
public CacheSettings getCacheBehaviorSettings()
An object that describes the cache behavior settings for the distribution.
The cacheBehaviorSettings
specified in your UpdateDistributionRequest
will replace your
distribution's existing settings.
The cacheBehaviorSettings
specified in your UpdateDistributionRequest
will
replace your distribution's existing settings.
public UpdateDistributionRequest withCacheBehaviorSettings(CacheSettings cacheBehaviorSettings)
An object that describes the cache behavior settings for the distribution.
The cacheBehaviorSettings
specified in your UpdateDistributionRequest
will replace your
distribution's existing settings.
cacheBehaviorSettings
- An object that describes the cache behavior settings for the distribution.
The cacheBehaviorSettings
specified in your UpdateDistributionRequest
will
replace your distribution's existing settings.
public List<CacheBehaviorPerPath> getCacheBehaviors()
An array of objects that describe the per-path cache behavior for the distribution.
public void setCacheBehaviors(Collection<CacheBehaviorPerPath> cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
cacheBehaviors
- An array of objects that describe the per-path cache behavior for the distribution.public UpdateDistributionRequest withCacheBehaviors(CacheBehaviorPerPath... cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
NOTE: This method appends the values to the existing list (if any). Use
setCacheBehaviors(java.util.Collection)
or withCacheBehaviors(java.util.Collection)
if you want
to override the existing values.
cacheBehaviors
- An array of objects that describe the per-path cache behavior for the distribution.public UpdateDistributionRequest withCacheBehaviors(Collection<CacheBehaviorPerPath> cacheBehaviors)
An array of objects that describe the per-path cache behavior for the distribution.
cacheBehaviors
- An array of objects that describe the per-path cache behavior for the distribution.public void setIsEnabled(Boolean isEnabled)
Indicates whether to enable the distribution.
isEnabled
- Indicates whether to enable the distribution.public Boolean getIsEnabled()
Indicates whether to enable the distribution.
public UpdateDistributionRequest withIsEnabled(Boolean isEnabled)
Indicates whether to enable the distribution.
isEnabled
- Indicates whether to enable the distribution.public Boolean isEnabled()
Indicates whether to enable the distribution.
public void setViewerMinimumTlsProtocolVersion(String viewerMinimumTlsProtocolVersion)
Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the distribution.
viewerMinimumTlsProtocolVersion
- Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached
to the distribution.ViewerMinimumTlsProtocolVersionEnum
public String getViewerMinimumTlsProtocolVersion()
Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the distribution.
ViewerMinimumTlsProtocolVersionEnum
public UpdateDistributionRequest withViewerMinimumTlsProtocolVersion(String viewerMinimumTlsProtocolVersion)
Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the distribution.
viewerMinimumTlsProtocolVersion
- Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached
to the distribution.ViewerMinimumTlsProtocolVersionEnum
public UpdateDistributionRequest withViewerMinimumTlsProtocolVersion(ViewerMinimumTlsProtocolVersionEnum viewerMinimumTlsProtocolVersion)
Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the distribution.
viewerMinimumTlsProtocolVersion
- Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached
to the distribution.ViewerMinimumTlsProtocolVersionEnum
public void setCertificateName(String certificateName)
The name of the SSL/TLS certificate that you want to attach to the distribution.
Only certificates with a status of ISSUED
can be attached to a distribution.
Use the GetCertificates action to get a list of certificate names that you can specify.
certificateName
- The name of the SSL/TLS certificate that you want to attach to the distribution.
Only certificates with a status of ISSUED
can be attached to a distribution.
Use the GetCertificates action to get a list of certificate names that you can specify.
public String getCertificateName()
The name of the SSL/TLS certificate that you want to attach to the distribution.
Only certificates with a status of ISSUED
can be attached to a distribution.
Use the GetCertificates action to get a list of certificate names that you can specify.
Only certificates with a status of ISSUED
can be attached to a distribution.
Use the GetCertificates action to get a list of certificate names that you can specify.
public UpdateDistributionRequest withCertificateName(String certificateName)
The name of the SSL/TLS certificate that you want to attach to the distribution.
Only certificates with a status of ISSUED
can be attached to a distribution.
Use the GetCertificates action to get a list of certificate names that you can specify.
certificateName
- The name of the SSL/TLS certificate that you want to attach to the distribution.
Only certificates with a status of ISSUED
can be attached to a distribution.
Use the GetCertificates action to get a list of certificate names that you can specify.
public void setUseDefaultCertificate(Boolean useDefaultCertificate)
Indicates whether the default SSL/TLS certificate is attached to the distribution. The default value is
true
. When true
, the distribution uses the default domain name such as
d111111abcdef8.cloudfront.net
.
Set this value to false
to attach a new certificate to the distribution.
useDefaultCertificate
- Indicates whether the default SSL/TLS certificate is attached to the distribution. The default value is
true
. When true
, the distribution uses the default domain name such as
d111111abcdef8.cloudfront.net
.
Set this value to false
to attach a new certificate to the distribution.
public Boolean getUseDefaultCertificate()
Indicates whether the default SSL/TLS certificate is attached to the distribution. The default value is
true
. When true
, the distribution uses the default domain name such as
d111111abcdef8.cloudfront.net
.
Set this value to false
to attach a new certificate to the distribution.
true
. When true
, the distribution uses the default domain name such as
d111111abcdef8.cloudfront.net
.
Set this value to false
to attach a new certificate to the distribution.
public UpdateDistributionRequest withUseDefaultCertificate(Boolean useDefaultCertificate)
Indicates whether the default SSL/TLS certificate is attached to the distribution. The default value is
true
. When true
, the distribution uses the default domain name such as
d111111abcdef8.cloudfront.net
.
Set this value to false
to attach a new certificate to the distribution.
useDefaultCertificate
- Indicates whether the default SSL/TLS certificate is attached to the distribution. The default value is
true
. When true
, the distribution uses the default domain name such as
d111111abcdef8.cloudfront.net
.
Set this value to false
to attach a new certificate to the distribution.
public Boolean isUseDefaultCertificate()
Indicates whether the default SSL/TLS certificate is attached to the distribution. The default value is
true
. When true
, the distribution uses the default domain name such as
d111111abcdef8.cloudfront.net
.
Set this value to false
to attach a new certificate to the distribution.
true
. When true
, the distribution uses the default domain name such as
d111111abcdef8.cloudfront.net
.
Set this value to false
to attach a new certificate to the distribution.
public String toString()
toString
in class Object
Object.toString()
public UpdateDistributionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()