Class TargetArgs.Builder

  • Enclosing class:
    TargetArgs

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

      • Builder

        public Builder()
      • Builder

        public Builder​(TargetArgs defaults)
    • Method Detail

      • maxCapacity

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

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

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

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

        public TargetArgs.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 TargetArgs.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 TargetArgs.Builder resourceId​(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 TargetArgs.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 TargetArgs.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 TargetArgs.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 TargetArgs.Builder scalableDimension​(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 TargetArgs.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 TargetArgs.Builder serviceNamespace​(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 TargetArgs.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 TargetArgs.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 TargetArgs.Builder suspendedState​(TargetSuspendedStateArgs suspendedState)
        Parameters:
        suspendedState - Whether the scaling activities for a scalable target are in a suspended state.
        Returns:
        builder
      • tags

        public TargetArgs.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 TargetArgs.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