Class CfnProcurementPortalPreferencePropsMixin.ContactProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.invoicing.CfnProcurementPortalPreferencePropsMixin.ContactProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProcurementPortalPreferencePropsMixin.ContactProperty>
- Enclosing interface:
CfnProcurementPortalPreferencePropsMixin.ContactProperty
@Stability(Stable)
public static final class CfnProcurementPortalPreferencePropsMixin.ContactProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProcurementPortalPreferencePropsMixin.ContactProperty>
A builder for
CfnProcurementPortalPreferencePropsMixin.ContactProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnProcurementPortalPreferencePropsMixin.ContactProperty.getEmail()Sets the value ofCfnProcurementPortalPreferencePropsMixin.ContactProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
email
@Stability(Stable) public CfnProcurementPortalPreferencePropsMixin.ContactProperty.Builder email(String email) Sets the value ofCfnProcurementPortalPreferencePropsMixin.ContactProperty.getEmail()- Parameters:
email- The email address of the contact person or role.- Returns:
this
-
name
@Stability(Stable) public CfnProcurementPortalPreferencePropsMixin.ContactProperty.Builder name(String name) Sets the value ofCfnProcurementPortalPreferencePropsMixin.ContactProperty.getName()- Parameters:
name- The name of the contact person or role.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProcurementPortalPreferencePropsMixin.ContactProperty>- Returns:
- a new instance of
CfnProcurementPortalPreferencePropsMixin.ContactProperty - Throws:
NullPointerException- if any required attribute was not provided
-