Class ConnectorState.Builder

  • Enclosing class:
    ConnectorState

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

      • Builder

        public Builder()
    • Method Detail

      • accessRole

        public ConnectorState.Builder accessRole​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> accessRole)
        Parameters:
        accessRole - IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request.
        Returns:
        builder
      • accessRole

        public ConnectorState.Builder accessRole​(java.lang.String accessRole)
        Parameters:
        accessRole - IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request.
        Returns:
        builder
      • arn

        public ConnectorState.Builder arn​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the connector.
        Returns:
        builder
      • arn

        public ConnectorState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the connector.
        Returns:
        builder
      • as2Config

        public ConnectorState.Builder as2Config​(@Nullable
                                                com.pulumi.core.Output<ConnectorAs2ConfigArgs> as2Config)
        Parameters:
        as2Config - Either SFTP or AS2 is configured. Parameters to configure for the connector object. See `as2Config` Block below.
        Returns:
        builder
      • as2Config

        public ConnectorState.Builder as2Config​(ConnectorAs2ConfigArgs as2Config)
        Parameters:
        as2Config - Either SFTP or AS2 is configured. Parameters to configure for the connector object. See `as2Config` Block below.
        Returns:
        builder
      • connectorId

        public ConnectorState.Builder connectorId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> connectorId)
        Parameters:
        connectorId - Unique identifier for the AS2 profile or SFTP Profile.
        Returns:
        builder
      • connectorId

        public ConnectorState.Builder connectorId​(java.lang.String connectorId)
        Parameters:
        connectorId - Unique identifier for the AS2 profile or SFTP Profile.
        Returns:
        builder
      • egressConfig

        public ConnectorState.Builder egressConfig​(@Nullable
                                                   com.pulumi.core.Output<ConnectorEgressConfigArgs> egressConfig)
        Parameters:
        egressConfig - Egress configuration for the connector. When set, enables routing through customer VPCs using VPC Lattice for private connectivity. See `egressConfig` Block below.
        Returns:
        builder
      • egressConfig

        public ConnectorState.Builder egressConfig​(ConnectorEgressConfigArgs egressConfig)
        Parameters:
        egressConfig - Egress configuration for the connector. When set, enables routing through customer VPCs using VPC Lattice for private connectivity. See `egressConfig` Block below.
        Returns:
        builder
      • loggingRole

        public ConnectorState.Builder loggingRole​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> loggingRole)
        Parameters:
        loggingRole - IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events.
        Returns:
        builder
      • loggingRole

        public ConnectorState.Builder loggingRole​(java.lang.String loggingRole)
        Parameters:
        loggingRole - IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events.
        Returns:
        builder
      • region

        public ConnectorState.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 ConnectorState.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
      • securityPolicyName

        public ConnectorState.Builder securityPolicyName​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> securityPolicyName)
        Parameters:
        securityPolicyName - Name of the security policy for the connector.
        Returns:
        builder
      • securityPolicyName

        public ConnectorState.Builder securityPolicyName​(java.lang.String securityPolicyName)
        Parameters:
        securityPolicyName - Name of the security policy for the connector.
        Returns:
        builder
      • sftpConfig

        public ConnectorState.Builder sftpConfig​(@Nullable
                                                 com.pulumi.core.Output<ConnectorSftpConfigArgs> sftpConfig)
        Parameters:
        sftpConfig - Either SFTP or AS2 is configured. Parameters to configure for the connector object. See `sftpConfig` Block below.
        Returns:
        builder
      • sftpConfig

        public ConnectorState.Builder sftpConfig​(ConnectorSftpConfigArgs sftpConfig)
        Parameters:
        sftpConfig - Either SFTP or AS2 is configured. Parameters to configure for the connector object. See `sftpConfig` Block below.
        Returns:
        builder
      • tags

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

        public ConnectorState.Builder tagsAll​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
      • tagsAll

        public ConnectorState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
      • url

        public ConnectorState.Builder url​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> url)
        Parameters:
        url - URL of the partners AS2 endpoint or SFTP endpoint. Required for AS2 connectors and service-managed SFTP connectors. Must be null when using VPC Lattice egress configuration.
        Returns:
        builder
      • url

        public ConnectorState.Builder url​(java.lang.String url)
        Parameters:
        url - URL of the partners AS2 endpoint or SFTP endpoint. Required for AS2 connectors and service-managed SFTP connectors. Must be null when using VPC Lattice egress configuration.
        Returns:
        builder