Class RunScheduledInstancesRequest

    • Constructor Detail

      • RunScheduledInstancesRequest

        public RunScheduledInstancesRequest()
    • Method Detail

      • setClientToken

        public void setClientToken​(String clientToken)

        Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.

        Parameters:
        clientToken - Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
      • getClientToken

        public String getClientToken()

        Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.

        Returns:
        Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
      • withClientToken

        public RunScheduledInstancesRequest withClientToken​(String clientToken)

        Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.

        Parameters:
        clientToken - Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceCount

        public void setInstanceCount​(Integer instanceCount)

        The number of instances.

        Default: 1

        Parameters:
        instanceCount - The number of instances.

        Default: 1

      • getInstanceCount

        public Integer getInstanceCount()

        The number of instances.

        Default: 1

        Returns:
        The number of instances.

        Default: 1

      • withInstanceCount

        public RunScheduledInstancesRequest withInstanceCount​(Integer instanceCount)

        The number of instances.

        Default: 1

        Parameters:
        instanceCount - The number of instances.

        Default: 1

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

        public void setScheduledInstanceId​(String scheduledInstanceId)

        The Scheduled Instance ID.

        Parameters:
        scheduledInstanceId - The Scheduled Instance ID.
      • getScheduledInstanceId

        public String getScheduledInstanceId()

        The Scheduled Instance ID.

        Returns:
        The Scheduled Instance ID.
      • withScheduledInstanceId

        public RunScheduledInstancesRequest withScheduledInstanceId​(String scheduledInstanceId)

        The Scheduled Instance ID.

        Parameters:
        scheduledInstanceId - The Scheduled Instance ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLaunchSpecification

        public void setLaunchSpecification​(ScheduledInstancesLaunchSpecification launchSpecification)

        The launch specification.

        Parameters:
        launchSpecification - The launch specification.
      • withLaunchSpecification

        public RunScheduledInstancesRequest withLaunchSpecification​(ScheduledInstancesLaunchSpecification launchSpecification)

        The launch specification.

        Parameters:
        launchSpecification - The launch specification.
        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