Class CfnPartnership
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.b2bi.CfnPartnership
- All Implemented Interfaces:
IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-03T18:29:22.267Z")
@Stability(Stable)
public class CfnPartnership
extends CfnResource
implements IInspectable
Creates a partnership between a customer and a trading partner, based on the supplied parameters.
A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.b2bi.*;
CfnPartnership cfnPartnership = CfnPartnership.Builder.create(this, "MyCfnPartnership")
.email("email")
.name("name")
.profileId("profileId")
// the properties below are optional
.capabilities(List.of("capabilities"))
.phone("phone")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnPartnership(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPartnership(software.amazon.jsii.JsiiObjectRef objRef) CfnPartnership(software.constructs.Construct scope, String id, CfnPartnershipProps props) -
Method Summary
Modifier and TypeMethodDescriptionReturns a timestamp for creation date and time of the partnership.Returns a timestamp that identifies the most recent date and time that the partnership was modified.Returns an Amazon Resource Name (ARN) for a specific AWS resource, such as a capability, partnership, profile, or transformer.Returns the unique, system-generated identifier for a partnership.Returns the unique, system-generated identifier for a trading partner.Returns one or more capabilities associated with this partnership.getEmail()getName()Returns the name of the partnership.getPhone()Returns the unique, system-generated identifier for the profile connected to this partnership.getTags()A key-value pair for a specific partnership.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetCapabilities(List<String> value) Returns one or more capabilities associated with this partnership.voidvoidReturns the name of the partnership.voidvoidsetProfileId(String value) Returns the unique, system-generated identifier for the profile connected to this partnership.voidA key-value pair for a specific partnership.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnPartnership
protected CfnPartnership(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPartnership
protected CfnPartnership(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPartnership
@Stability(Stable) public CfnPartnership(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnPartnershipProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
Returns a timestamp for creation date and time of the partnership. -
getAttrModifiedAt
Returns a timestamp that identifies the most recent date and time that the partnership was modified. -
getAttrPartnershipArn
Returns an Amazon Resource Name (ARN) for a specific AWS resource, such as a capability, partnership, profile, or transformer. -
getAttrPartnershipId
Returns the unique, system-generated identifier for a partnership. -
getAttrTradingPartnerId
Returns the unique, system-generated identifier for a trading partner. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getEmail
-
setEmail
-
getName
Returns the name of the partnership. -
setName
Returns the name of the partnership. -
getProfileId
Returns the unique, system-generated identifier for the profile connected to this partnership. -
setProfileId
Returns the unique, system-generated identifier for the profile connected to this partnership. -
getCapabilities
Returns one or more capabilities associated with this partnership. -
setCapabilities
Returns one or more capabilities associated with this partnership. -
getPhone
-
setPhone
-
getTags
A key-value pair for a specific partnership. -
setTags
A key-value pair for a specific partnership.
-