Interface CreateAccessGrantsInstanceRequest.Builder

    • Method Detail

      • accountId

        CreateAccessGrantsInstanceRequest.Builder accountId​(String accountId)

        The ID of the Amazon Web Services account that is making this request.

        Parameters:
        accountId - The ID of the Amazon Web Services account that is making this request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • identityCenterArn

        CreateAccessGrantsInstanceRequest.Builder identityCenterArn​(String identityCenterArn)

        If you would like to associate your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance, use this field to pass the Amazon Resource Name (ARN) of the Amazon Web Services IAM Identity Center instance that you are associating with your S3 Access Grants instance. An IAM Identity Center instance is your corporate identity directory that you added to the IAM Identity Center. You can use the ListInstances API operation to retrieve a list of your Identity Center instances and their ARNs.

        Parameters:
        identityCenterArn - If you would like to associate your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance, use this field to pass the Amazon Resource Name (ARN) of the Amazon Web Services IAM Identity Center instance that you are associating with your S3 Access Grants instance. An IAM Identity Center instance is your corporate identity directory that you added to the IAM Identity Center. You can use the ListInstances API operation to retrieve a list of your Identity Center instances and their ARNs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateAccessGrantsInstanceRequest.Builder tags​(Collection<Tag> tags)

        The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.

        Parameters:
        tags - The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateAccessGrantsInstanceRequest.Builder tags​(Tag... tags)

        The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.

        Parameters:
        tags - The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateAccessGrantsInstanceRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)