Interface CreateCrossAccountAttachmentRequest.Builder

    • Method Detail

      • name

        CreateCrossAccountAttachmentRequest.Builder name​(String name)

        The name of the cross-account attachment.

        Parameters:
        name - The name of the cross-account attachment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principals

        CreateCrossAccountAttachmentRequest.Builder principals​(Collection<String> principals)

        The principals to list in the cross-account attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator.

        Parameters:
        principals - The principals to list in the cross-account attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principals

        CreateCrossAccountAttachmentRequest.Builder principals​(String... principals)

        The principals to list in the cross-account attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator.

        Parameters:
        principals - The principals to list in the cross-account attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        CreateCrossAccountAttachmentRequest.Builder resources​(Collection<Resource> resources)

        The Amazon Resource Names (ARNs) for the resources to list in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator.

        Parameters:
        resources - The Amazon Resource Names (ARNs) for the resources to list in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        CreateCrossAccountAttachmentRequest.Builder resources​(Resource... resources)

        The Amazon Resource Names (ARNs) for the resources to list in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator.

        Parameters:
        resources - The Amazon Resource Names (ARNs) for the resources to list in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        CreateCrossAccountAttachmentRequest.Builder resources​(Consumer<Resource.Builder>... resources)

        The Amazon Resource Names (ARNs) for the resources to list in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator.

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

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

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

        CreateCrossAccountAttachmentRequest.Builder idempotencyToken​(String idempotencyToken)

        A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.

        Parameters:
        idempotencyToken - A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.