Class ResourceState.Builder

  • Enclosing class:
    ResourceState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public ResourceState.Builder arn​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the resource. The following arguments are optional:
        Returns:
        builder
      • arn

        public ResourceState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the resource. The following arguments are optional:
        Returns:
        builder
      • hybridAccessEnabled

        public ResourceState.Builder hybridAccessEnabled​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> hybridAccessEnabled)
        Parameters:
        hybridAccessEnabled - Flag to enable AWS Lake Formation hybrid access permission mode.
        Returns:
        builder
      • hybridAccessEnabled

        public ResourceState.Builder hybridAccessEnabled​(java.lang.Boolean hybridAccessEnabled)
        Parameters:
        hybridAccessEnabled - Flag to enable AWS Lake Formation hybrid access permission mode.
        Returns:
        builder
      • lastModified

        public ResourceState.Builder lastModified​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> lastModified)
        Parameters:
        lastModified - Date and time the resource was last modified in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
        Returns:
        builder
      • lastModified

        public ResourceState.Builder lastModified​(java.lang.String lastModified)
        Parameters:
        lastModified - Date and time the resource was last modified in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
        Returns:
        builder
      • region

        public ResourceState.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 ResourceState.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
      • roleArn

        public ResourceState.Builder roleArn​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        roleArn - Role that has read/write access to the resource.
        Returns:
        builder
      • roleArn

        public ResourceState.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        roleArn - Role that has read/write access to the resource.
        Returns:
        builder
      • useServiceLinkedRole

        public ResourceState.Builder useServiceLinkedRole​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Boolean> useServiceLinkedRole)
        Parameters:
        useServiceLinkedRole - Designates an AWS Identity and Access Management (IAM) service-linked role by registering this role with the Data Catalog.
        Returns:
        builder
      • useServiceLinkedRole

        public ResourceState.Builder useServiceLinkedRole​(java.lang.Boolean useServiceLinkedRole)
        Parameters:
        useServiceLinkedRole - Designates an AWS Identity and Access Management (IAM) service-linked role by registering this role with the Data Catalog.
        Returns:
        builder
      • withFederation

        public ResourceState.Builder withFederation​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Boolean> withFederation)
        Parameters:
        withFederation - Whether or not the resource is a federated resource. Set to true when registering AWS Glue connections for federated catalog functionality.
        Returns:
        builder
      • withFederation

        public ResourceState.Builder withFederation​(java.lang.Boolean withFederation)
        Parameters:
        withFederation - Whether or not the resource is a federated resource. Set to true when registering AWS Glue connections for federated catalog functionality.
        Returns:
        builder
      • withPrivilegedAccess

        public ResourceState.Builder withPrivilegedAccess​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Boolean> withPrivilegedAccess)
        Parameters:
        withPrivilegedAccess - Boolean to grant the calling principal the permissions to perform all supported Lake Formation operations on the registered data location. > **NOTE:** AWS does not support registering an S3 location with an IAM role and subsequently updating the S3 location registration to a service-linked role.
        Returns:
        builder
      • withPrivilegedAccess

        public ResourceState.Builder withPrivilegedAccess​(java.lang.Boolean withPrivilegedAccess)
        Parameters:
        withPrivilegedAccess - Boolean to grant the calling principal the permissions to perform all supported Lake Formation operations on the registered data location. > **NOTE:** AWS does not support registering an S3 location with an IAM role and subsequently updating the S3 location registration to a service-linked role.
        Returns:
        builder