Class ResourceShareArgs.Builder

  • Enclosing class:
    ResourceShareArgs

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

      • Builder

        public Builder()
    • Method Detail

      • allowExternalPrincipals

        public ResourceShareArgs.Builder allowExternalPrincipals​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Boolean> allowExternalPrincipals)
        Parameters:
        allowExternalPrincipals - Whether principals outside your organization can be associated with a resource share.
        Returns:
        builder
      • allowExternalPrincipals

        public ResourceShareArgs.Builder allowExternalPrincipals​(java.lang.Boolean allowExternalPrincipals)
        Parameters:
        allowExternalPrincipals - Whether principals outside your organization can be associated with a resource share.
        Returns:
        builder
      • name

        public ResourceShareArgs.Builder name​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the resource share.
        Returns:
        builder
      • name

        public ResourceShareArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the resource share.
        Returns:
        builder
      • permissionArns

        public ResourceShareArgs.Builder permissionArns​(@Nullable
                                                        com.pulumi.core.Output<java.util.List<java.lang.String>> permissionArns)
        Parameters:
        permissionArns - ARNs of the RAM permission to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. You can associate only one permission with each resource type included in the resource share.
        Returns:
        builder
      • permissionArns

        public ResourceShareArgs.Builder permissionArns​(java.util.List<java.lang.String> permissionArns)
        Parameters:
        permissionArns - ARNs of the RAM permission to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. You can associate only one permission with each resource type included in the resource share.
        Returns:
        builder
      • permissionArns

        public ResourceShareArgs.Builder permissionArns​(java.lang.String... permissionArns)
        Parameters:
        permissionArns - ARNs of the RAM permission to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. You can associate only one permission with each resource type included in the resource share.
        Returns:
        builder
      • region

        public ResourceShareArgs.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 ResourceShareArgs.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
      • resourceShareConfiguration

        public ResourceShareArgs.Builder resourceShareConfiguration​(@Nullable
                                                                    com.pulumi.core.Output<ResourceShareResourceShareConfigurationArgs> resourceShareConfiguration)
        Parameters:
        resourceShareConfiguration - Configuration block for the resource share. See `resourceShareConfiguration` Block for details.
        Returns:
        builder
      • tags

        public ResourceShareArgs.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 resource share. 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 ResourceShareArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource share. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder