Class CfnProfile.Builder

java.lang.Object
software.amazon.awscdk.services.transfer.CfnProfile.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProfile>
Enclosing class:
CfnProfile

@Stability(Stable) public static final class CfnProfile.Builder extends Object implements software.amazon.jsii.Builder<CfnProfile>
A fluent builder for CfnProfile.
  • Method Details

    • create

      @Stability(Stable) public static CfnProfile.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnProfile.Builder.
    • as2Id

      @Stability(Stable) public CfnProfile.Builder as2Id(String as2Id)
      The As2Id is the AS2-name , as defined in the RFC 4130 . For inbound transfers, this is the AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API operation. This ID cannot include spaces.

      Parameters:
      as2Id - The As2Id is the AS2-name , as defined in the RFC 4130 . For inbound transfers, this is the AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API operation. This ID cannot include spaces. This parameter is required.
      Returns:
      this
    • profileType

      @Stability(Stable) public CfnProfile.Builder profileType(String profileType)
      Indicates whether to list only LOCAL type profiles or only PARTNER type profiles.

      If not supplied in the request, the command lists all types of profiles.

      Parameters:
      profileType - Indicates whether to list only LOCAL type profiles or only PARTNER type profiles. This parameter is required.
      Returns:
      this
    • certificateIds

      @Stability(Stable) public CfnProfile.Builder certificateIds(List<String> certificateIds)
      An array of identifiers for the imported certificates.

      You use this identifier for working with profiles and partner profiles.

      Parameters:
      certificateIds - An array of identifiers for the imported certificates. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnProfile.Builder tags(List<? extends CfnTag> tags)
      Key-value pairs that can be used to group and search for profiles.

      Parameters:
      tags - Key-value pairs that can be used to group and search for profiles. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnProfile build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnProfile>
      Returns:
      a newly built instance of CfnProfile.