Class CreateSpotDatafeedSubscriptionRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateSpotDatafeedSubscriptionRequest
All Implemented Interfaces:
ReadLimitInfo, DryRunSupportedRequest<CreateSpotDatafeedSubscriptionRequest>, Serializable, Cloneable

public class CreateSpotDatafeedSubscriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateSpotDatafeedSubscriptionRequest>

Contains the parameters for CreateSpotDatafeedSubscription.

See Also:
  • Constructor Details

    • CreateSpotDatafeedSubscriptionRequest

      public CreateSpotDatafeedSubscriptionRequest()
      Default constructor for CreateSpotDatafeedSubscriptionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
    • CreateSpotDatafeedSubscriptionRequest

      public CreateSpotDatafeedSubscriptionRequest(String bucket)
      Constructs a new CreateSpotDatafeedSubscriptionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      Parameters:
      bucket - The Amazon S3 bucket in which to store the Spot instance data feed.
  • Method Details

    • setBucket

      public void setBucket(String bucket)

      The Amazon S3 bucket in which to store the Spot instance data feed.

      Parameters:
      bucket - The Amazon S3 bucket in which to store the Spot instance data feed.
    • getBucket

      public String getBucket()

      The Amazon S3 bucket in which to store the Spot instance data feed.

      Returns:
      The Amazon S3 bucket in which to store the Spot instance data feed.
    • withBucket

      public CreateSpotDatafeedSubscriptionRequest withBucket(String bucket)

      The Amazon S3 bucket in which to store the Spot instance data feed.

      Parameters:
      bucket - The Amazon S3 bucket in which to store the Spot instance data feed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPrefix

      public void setPrefix(String prefix)

      A prefix for the data feed file names.

      Parameters:
      prefix - A prefix for the data feed file names.
    • getPrefix

      public String getPrefix()

      A prefix for the data feed file names.

      Returns:
      A prefix for the data feed file names.
    • withPrefix

      public CreateSpotDatafeedSubscriptionRequest withPrefix(String prefix)

      A prefix for the data feed file names.

      Parameters:
      prefix - A prefix for the data feed file names.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getDryRunRequest

      public Request<CreateSpotDatafeedSubscriptionRequest> getDryRunRequest()
      This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.
      Specified by:
      getDryRunRequest in interface DryRunSupportedRequest<CreateSpotDatafeedSubscriptionRequest>
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: