Class GetCapacityBlockOfferingArgs.Builder

    • Method Detail

      • capacityDurationHours

        public GetCapacityBlockOfferingArgs.Builder capacityDurationHours​(com.pulumi.core.Output<java.lang.Integer> capacityDurationHours)
        Parameters:
        capacityDurationHours - The amount of time of the Capacity Block reservation in hours.
        Returns:
        builder
      • capacityDurationHours

        public GetCapacityBlockOfferingArgs.Builder capacityDurationHours​(java.lang.Integer capacityDurationHours)
        Parameters:
        capacityDurationHours - The amount of time of the Capacity Block reservation in hours.
        Returns:
        builder
      • endDateRange

        public GetCapacityBlockOfferingArgs.Builder endDateRange​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> endDateRange)
        Parameters:
        endDateRange - The date and time at which the Capacity Block Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`)
        Returns:
        builder
      • endDateRange

        public GetCapacityBlockOfferingArgs.Builder endDateRange​(java.lang.String endDateRange)
        Parameters:
        endDateRange - The date and time at which the Capacity Block Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`)
        Returns:
        builder
      • instanceCount

        public GetCapacityBlockOfferingArgs.Builder instanceCount​(com.pulumi.core.Output<java.lang.Integer> instanceCount)
        Parameters:
        instanceCount - The number of instances for which to reserve capacity.
        Returns:
        builder
      • instanceCount

        public GetCapacityBlockOfferingArgs.Builder instanceCount​(java.lang.Integer instanceCount)
        Parameters:
        instanceCount - The number of instances for which to reserve capacity.
        Returns:
        builder
      • instanceType

        public GetCapacityBlockOfferingArgs.Builder instanceType​(com.pulumi.core.Output<java.lang.String> instanceType)
        Parameters:
        instanceType - The instance type for which to reserve capacity.
        Returns:
        builder
      • instanceType

        public GetCapacityBlockOfferingArgs.Builder instanceType​(java.lang.String instanceType)
        Parameters:
        instanceType - The instance type for which to reserve capacity.
        Returns:
        builder
      • region

        public GetCapacityBlockOfferingArgs.Builder region​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public GetCapacityBlockOfferingArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • startDateRange

        public GetCapacityBlockOfferingArgs.Builder startDateRange​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> startDateRange)
        Parameters:
        startDateRange - The date and time at which the Capacity Block Reservation starts. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`)
        Returns:
        builder
      • startDateRange

        public GetCapacityBlockOfferingArgs.Builder startDateRange​(java.lang.String startDateRange)
        Parameters:
        startDateRange - The date and time at which the Capacity Block Reservation starts. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`)
        Returns:
        builder