Class ScopeState.Builder

  • Enclosing class:
    ScopeState

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

      • Builder

        public Builder()
      • Builder

        public Builder​(ScopeState defaults)
    • Method Detail

      • region

        public ScopeState.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 ScopeState.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
      • scopeArn

        public ScopeState.Builder scopeArn​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> scopeArn)
        Parameters:
        scopeArn - ARN of the scope.
        Returns:
        builder
      • scopeArn

        public ScopeState.Builder scopeArn​(java.lang.String scopeArn)
        Parameters:
        scopeArn - ARN of the scope.
        Returns:
        builder
      • scopeId

        public ScopeState.Builder scopeId​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> scopeId)
        Parameters:
        scopeId - The identifier for the scope that includes the resources you want to get data results for.
        Returns:
        builder
      • scopeId

        public ScopeState.Builder scopeId​(java.lang.String scopeId)
        Parameters:
        scopeId - The identifier for the scope that includes the resources you want to get data results for.
        Returns:
        builder
      • tags

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

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

        public ScopeState.Builder targets​(@Nullable
                                          com.pulumi.core.Output<java.util.List<ScopeTargetArgs>> targets)
        Parameters:
        targets - The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs. The following arguments are optional:
        Returns:
        builder
      • targets

        public ScopeState.Builder targets​(java.util.List<ScopeTargetArgs> targets)
        Parameters:
        targets - The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs. The following arguments are optional:
        Returns:
        builder
      • targets

        public ScopeState.Builder targets​(ScopeTargetArgs... targets)
        Parameters:
        targets - The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs. The following arguments are optional:
        Returns:
        builder