Class AccessGrantState.Builder

  • Enclosing class:
    AccessGrantState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

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

        public AccessGrantState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the access grant.
        Returns:
        builder
      • domainId

        public AccessGrantState.Builder domainId​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> domainId)
        Parameters:
        domainId - ID of the CloudWatch Omni domain that contains the space. Changing this forces a new resource.
        Returns:
        builder
      • domainId

        public AccessGrantState.Builder domainId​(java.lang.String domainId)
        Parameters:
        domainId - ID of the CloudWatch Omni domain that contains the space. Changing this forces a new resource.
        Returns:
        builder
      • grantId

        public AccessGrantState.Builder grantId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> grantId)
        Parameters:
        grantId - Unique ID of the access grant.
        Returns:
        builder
      • grantId

        public AccessGrantState.Builder grantId​(java.lang.String grantId)
        Parameters:
        grantId - Unique ID of the access grant.
        Returns:
        builder
      • grantType

        public AccessGrantState.Builder grantType​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> grantType)
        Parameters:
        grantType - Who manages the access grant.
        Returns:
        builder
      • grantType

        public AccessGrantState.Builder grantType​(java.lang.String grantType)
        Parameters:
        grantType - Who manages the access grant.
        Returns:
        builder
      • name

        public AccessGrantState.Builder name​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the access grant. Must be 1-64 characters and contain only letters, numbers, underscores (`_`) and hyphens (`-`). Changing this forces a new resource.
        Returns:
        builder
      • name

        public AccessGrantState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the access grant. Must be 1-64 characters and contain only letters, numbers, underscores (`_`) and hyphens (`-`). Changing this forces a new resource.
        Returns:
        builder
      • permission

        public AccessGrantState.Builder permission​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> permission)
        Parameters:
        permission - Permission to grant. Valid values are `SPACE_ADMIN`, `READ`, `READ_WRITE_DELETE` and `CUSTOM`. Changing this forces a new resource.
        Returns:
        builder
      • permission

        public AccessGrantState.Builder permission​(java.lang.String permission)
        Parameters:
        permission - Permission to grant. Valid values are `SPACE_ADMIN`, `READ`, `READ_WRITE_DELETE` and `CUSTOM`. Changing this forces a new resource.
        Returns:
        builder
      • principal

        public AccessGrantState.Builder principal​(@Nullable
                                                  com.pulumi.core.Output<AccessGrantPrincipalArgs> principal)
        Parameters:
        principal - Principal receiving the grant. See below. Changing this forces a new resource.
        Returns:
        builder
      • region

        public AccessGrantState.Builder region​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource is managed. Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public AccessGrantState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource is managed. Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • scopedActions

        public AccessGrantState.Builder scopedActions​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<AccessGrantScopedActionArgs>> scopedActions)
        Parameters:
        scopedActions - Group of actions to allow, with the resource scopes and conditions that limit them. Up to 20 blocks. Required for the `CUSTOM` permission, and can also be used with the other permissions. See below. Changing this forces a new resource.
        Returns:
        builder
      • scopedActions

        public AccessGrantState.Builder scopedActions​(java.util.List<AccessGrantScopedActionArgs> scopedActions)
        Parameters:
        scopedActions - Group of actions to allow, with the resource scopes and conditions that limit them. Up to 20 blocks. Required for the `CUSTOM` permission, and can also be used with the other permissions. See below. Changing this forces a new resource.
        Returns:
        builder
      • scopedActions

        public AccessGrantState.Builder scopedActions​(AccessGrantScopedActionArgs... scopedActions)
        Parameters:
        scopedActions - Group of actions to allow, with the resource scopes and conditions that limit them. Up to 20 blocks. Required for the `CUSTOM` permission, and can also be used with the other permissions. See below. Changing this forces a new resource.
        Returns:
        builder
      • spaceId

        public AccessGrantState.Builder spaceId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> spaceId)
        Parameters:
        spaceId - ID of the CloudWatch Omni space to scope the grant to. Changing this forces a new resource. The following arguments are optional:
        Returns:
        builder
      • spaceId

        public AccessGrantState.Builder spaceId​(java.lang.String spaceId)
        Parameters:
        spaceId - ID of the CloudWatch Omni space to scope the grant to. Changing this forces a new resource. The following arguments are optional:
        Returns:
        builder
      • tags

        public AccessGrantState.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags assigned 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 AccessGrantState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags assigned 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 AccessGrantState.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 AccessGrantState.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