@Stability(value=Stable) public static final class CfnAgreementProps.Builder extends Object implements software.amazon.jsii.Builder<CfnAgreementProps>
CfnAgreementProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnAgreementProps.Builder accessRole(String accessRole)
CfnAgreementProps.getAccessRole()accessRole - With AS2, you can send files by calling `StartFileTransfer` and specifying the file paths in the request parameter, `SendFilePaths` . This parameter is required.
We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt , parent directory is /bucket/dir/ ) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer .this@Stability(value=Stable) public CfnAgreementProps.Builder baseDirectory(String baseDirectory)
CfnAgreementProps.getBaseDirectory()baseDirectory - The landing directory (folder) for files that are transferred by using the AS2 protocol. This parameter is required.this@Stability(value=Stable) public CfnAgreementProps.Builder localProfileId(String localProfileId)
CfnAgreementProps.getLocalProfileId()localProfileId - A unique identifier for the AS2 local profile. This parameter is required.this@Stability(value=Stable) public CfnAgreementProps.Builder partnerProfileId(String partnerProfileId)
CfnAgreementProps.getPartnerProfileId()partnerProfileId - A unique identifier for the partner profile used in the agreement. This parameter is required.this@Stability(value=Stable) public CfnAgreementProps.Builder serverId(String serverId)
CfnAgreementProps.getServerId()serverId - A system-assigned unique identifier for a server instance. This parameter is required.
This identifier indicates the specific server that the agreement uses.this@Stability(value=Stable) public CfnAgreementProps.Builder description(String description)
CfnAgreementProps.getDescription()description - The name or short description that's used to identify the agreement.this@Stability(value=Stable) public CfnAgreementProps.Builder status(String status)
CfnAgreementProps.getStatus()status - The current status of the agreement, either `ACTIVE` or `INACTIVE` .this@Stability(value=Stable) public CfnAgreementProps.Builder tags(List<? extends CfnTag> tags)
CfnAgreementProps.getTags()tags - Key-value pairs that can be used to group and search for agreements.this@Stability(value=Stable) public CfnAgreementProps build()
build in interface software.amazon.jsii.Builder<CfnAgreementProps>CfnAgreementPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.