Class AgreementReference.Builder
java.lang.Object
software.amazon.awscdk.services.transfer.AgreementReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AgreementReference>
- Enclosing interface:
AgreementReference
@Stability(Stable)
public static final class AgreementReference.Builder
extends Object
implements software.amazon.jsii.Builder<AgreementReference>
A builder for
AgreementReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagreementArn
(String agreementArn) Sets the value ofAgreementReference.getAgreementArn()
agreementId
(String agreementId) Sets the value ofAgreementReference.getAgreementId()
build()
Builds the configured instance.Sets the value ofAgreementReference.getServerId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agreementArn
Sets the value ofAgreementReference.getAgreementArn()
- Parameters:
agreementArn
- The ARN of the Agreement resource. This parameter is required.- Returns:
this
-
agreementId
Sets the value ofAgreementReference.getAgreementId()
- Parameters:
agreementId
- The AgreementId of the Agreement resource. This parameter is required.- Returns:
this
-
serverId
Sets the value ofAgreementReference.getServerId()
- Parameters:
serverId
- The ServerId of the Agreement resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AgreementReference>
- Returns:
- a new instance of
AgreementReference
- Throws:
NullPointerException
- if any required attribute was not provided
-