Class TargetState.Builder

  • Enclosing class:
    TargetState

    public static final class TargetState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public TargetState.Builder arn​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the scalable target.
        Returns:
        builder
      • arn

        public TargetState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the scalable target.
        Returns:
        builder
      • maxCapacity

        public TargetState.Builder maxCapacity​(@Nullable
                                               com.pulumi.core.Output<java.lang.Integer> maxCapacity)
        Parameters:
        maxCapacity - Max capacity of the scalable target.
        Returns:
        builder
      • maxCapacity

        public TargetState.Builder maxCapacity​(java.lang.Integer maxCapacity)
        Parameters:
        maxCapacity - Max capacity of the scalable target.
        Returns:
        builder
      • minCapacity

        public TargetState.Builder minCapacity​(@Nullable
                                               com.pulumi.core.Output<java.lang.Integer> minCapacity)
        Parameters:
        minCapacity - Min capacity of the scalable target.
        Returns:
        builder
      • minCapacity

        public TargetState.Builder minCapacity​(java.lang.Integer minCapacity)
        Parameters:
        minCapacity - Min capacity of the scalable target.
        Returns:
        builder
      • region

        public TargetState.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 TargetState.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
      • resourceId

        public TargetState.Builder resourceId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> resourceId)
        Parameters:
        resourceId - Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
        Returns:
        builder
      • resourceId

        public TargetState.Builder resourceId​(java.lang.String resourceId)
        Parameters:
        resourceId - Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
        Returns:
        builder
      • roleArn

        public TargetState.Builder roleArn​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        roleArn - ARN of the IAM role that allows Application Auto Scaling to modify your scalable target on your behalf. This defaults to an IAM Service-Linked Role for most services and custom IAM Roles are ignored by the API for those namespaces. See the [AWS Application Auto Scaling documentation](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles) for more information about how this service interacts with IAM.
        Returns:
        builder
      • roleArn

        public TargetState.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        roleArn - ARN of the IAM role that allows Application Auto Scaling to modify your scalable target on your behalf. This defaults to an IAM Service-Linked Role for most services and custom IAM Roles are ignored by the API for those namespaces. See the [AWS Application Auto Scaling documentation](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles) for more information about how this service interacts with IAM.
        Returns:
        builder
      • scalableDimension

        public TargetState.Builder scalableDimension​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> scalableDimension)
        Parameters:
        scalableDimension - Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
        Returns:
        builder
      • scalableDimension

        public TargetState.Builder scalableDimension​(java.lang.String scalableDimension)
        Parameters:
        scalableDimension - Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
        Returns:
        builder
      • serviceNamespace

        public TargetState.Builder serviceNamespace​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> serviceNamespace)
        Parameters:
        serviceNamespace - AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
        Returns:
        builder
      • serviceNamespace

        public TargetState.Builder serviceNamespace​(java.lang.String serviceNamespace)
        Parameters:
        serviceNamespace - AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
        Returns:
        builder
      • suspendedState

        public TargetState.Builder suspendedState​(@Nullable
                                                  com.pulumi.core.Output<TargetSuspendedStateArgs> suspendedState)
        Parameters:
        suspendedState - Whether the scaling activities for a scalable target are in a suspended state.
        Returns:
        builder
      • suspendedState

        public TargetState.Builder suspendedState​(TargetSuspendedStateArgs suspendedState)
        Parameters:
        suspendedState - Whether the scaling activities for a scalable target are in a suspended state.
        Returns:
        builder
      • tags

        public TargetState.Builder tags​(@Nullable
                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the scalable target. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public TargetState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the scalable target. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public TargetState.Builder tagsAll​(@Nullable
                                           com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public TargetState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder