Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront_2012_03_15.model
Class UpdateStreamingDistributionRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.cloudfront_2012_03_15.model.UpdateStreamingDistributionRequest

public class UpdateStreamingDistributionRequest
extends AmazonWebServiceRequest

Container for the parameters to the UpdateStreamingDistribution operation.

Update a streaming distribution.

See Also:
com.amazonaws.services.cloudfront_2012_03_152012_03_15AmazonCloudFront#updateStreamingDistribution(UpdateStreamingDistributionRequest)

Constructor Summary
UpdateStreamingDistributionRequest()
          Default constructor for a new UpdateStreamingDistributionRequest object.
UpdateStreamingDistributionRequest(StreamingDistributionConfig streamingDistributionConfig, java.lang.String id, java.lang.String ifMatch)
          Constructs a new UpdateStreamingDistributionRequest object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getId()
          The streaming distribution's id.
 java.lang.String getIfMatch()
          The value of the ETag header you received when retrieving the streaming distribution's configuration.
 StreamingDistributionConfig getStreamingDistributionConfig()
          The streaming distribution's configuration information.
 int hashCode()
           
 void setId(java.lang.String id)
          The streaming distribution's id.
 void setIfMatch(java.lang.String ifMatch)
          The value of the ETag header you received when retrieving the streaming distribution's configuration.
 void setStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
          The streaming distribution's configuration information.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 UpdateStreamingDistributionRequest withId(java.lang.String id)
          The streaming distribution's id.
 UpdateStreamingDistributionRequest withIfMatch(java.lang.String ifMatch)
          The value of the ETag header you received when retrieving the streaming distribution's configuration.
 UpdateStreamingDistributionRequest withStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
          The streaming distribution's configuration information.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateStreamingDistributionRequest

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


UpdateStreamingDistributionRequest

public UpdateStreamingDistributionRequest(StreamingDistributionConfig streamingDistributionConfig,
                                          java.lang.String id,
                                          java.lang.String ifMatch)
Constructs a new UpdateStreamingDistributionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
streamingDistributionConfig - The streaming distribution's configuration information.
id - The streaming distribution's id.
ifMatch - The value of the ETag header you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL.
Method Detail

getStreamingDistributionConfig

public StreamingDistributionConfig getStreamingDistributionConfig()
The streaming distribution's configuration information.

Returns:
The streaming distribution's configuration information.

setStreamingDistributionConfig

public void setStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The streaming distribution's configuration information.

Parameters:
streamingDistributionConfig - The streaming distribution's configuration information.

withStreamingDistributionConfig

public UpdateStreamingDistributionRequest withStreamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The streaming distribution's configuration information.

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

Parameters:
streamingDistributionConfig - The streaming distribution's configuration information.
Returns:
A reference to this updated object so that method calls can be chained together.

getId

public java.lang.String getId()
The streaming distribution's id.

Returns:
The streaming distribution's id.

setId

public void setId(java.lang.String id)
The streaming distribution's id.

Parameters:
id - The streaming distribution's id.

withId

public UpdateStreamingDistributionRequest withId(java.lang.String id)
The streaming distribution's id.

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

Parameters:
id - The streaming distribution's id.
Returns:
A reference to this updated object so that method calls can be chained together.

getIfMatch

public java.lang.String getIfMatch()
The value of the ETag header you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL.

Returns:
The value of the ETag header you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL.

setIfMatch

public void setIfMatch(java.lang.String ifMatch)
The value of the ETag header you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL.

Parameters:
ifMatch - The value of the ETag header you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL.

withIfMatch

public UpdateStreamingDistributionRequest withIfMatch(java.lang.String ifMatch)
The value of the ETag header you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL.

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

Parameters:
ifMatch - The value of the ETag header you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.