Class CreateSpotDatafeedSubscriptionRequest

    • Constructor Detail

      • 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 Detail

      • 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.
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object