All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.appstream.CfnStackUserAssociation Maven / Gradle / Ivy

There is a newer version: 1.204.0
Show newest version
package software.amazon.awscdk.services.appstream;

/**
 * A CloudFormation `AWS::AppStream::StackUserAssociation`.
 * 

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html */ @javax.annotation.Generated(value = "jsii-pacmak/0.21.1 (build 9ff44cb)", date = "2020-01-16T18:33:58.224Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.appstream.$Module.class, fqn = "@aws-cdk/aws-appstream.CfnStackUserAssociation") public class CfnStackUserAssociation extends software.amazon.awscdk.core.CfnResource implements software.amazon.awscdk.core.IInspectable { protected CfnStackUserAssociation(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected CfnStackUserAssociation(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } static { CFN_RESOURCE_TYPE_NAME = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.appstream.CfnStackUserAssociation.class, "CFN_RESOURCE_TYPE_NAME", java.lang.String.class); } /** * Create a new `AWS::AppStream::StackUserAssociation`. *

* @param scope - scope in which this resource is defined. This parameter is required. * @param id - scoped id of the resource. This parameter is required. * @param props - resource properties. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public CfnStackUserAssociation(final software.amazon.awscdk.core.Construct scope, final java.lang.String id, final software.amazon.awscdk.services.appstream.CfnStackUserAssociationProps props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") }); } /** * Examines the CloudFormation resource and discloses attributes. *

* EXPERIMENTAL *

* @param inspector - tree inspector to collect and process attributes. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void inspect(final software.amazon.awscdk.core.TreeInspector inspector) { this.jsiiCall("inspect", Void.class, new Object[] { java.util.Objects.requireNonNull(inspector, "inspector is required") }); } /** * @param props This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) @Override protected java.util.Map renderProperties(final java.util.Map props) { return java.util.Collections.unmodifiableMap(this.jsiiCall("renderProperties", java.util.Map.class, new Object[] { java.util.Objects.requireNonNull(props, "props is required") })); } /** * The CloudFormation resource type name for this resource class. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public final static java.lang.String CFN_RESOURCE_TYPE_NAME; /** */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) protected java.util.Map getCfnProperties() { return java.util.Collections.unmodifiableMap(this.jsiiGet("cfnProperties", java.util.Map.class)); } /** * `AWS::AppStream::StackUserAssociation.AuthenticationType`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-authenticationtype */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public java.lang.String getAuthenticationType() { return this.jsiiGet("authenticationType", java.lang.String.class); } /** * `AWS::AppStream::StackUserAssociation.AuthenticationType`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-authenticationtype */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setAuthenticationType(final java.lang.String value) { this.jsiiSet("authenticationType", java.util.Objects.requireNonNull(value, "authenticationType is required")); } /** * `AWS::AppStream::StackUserAssociation.StackName`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-stackname */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public java.lang.String getStackName() { return this.jsiiGet("stackName", java.lang.String.class); } /** * `AWS::AppStream::StackUserAssociation.StackName`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-stackname */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setStackName(final java.lang.String value) { this.jsiiSet("stackName", java.util.Objects.requireNonNull(value, "stackName is required")); } /** * `AWS::AppStream::StackUserAssociation.UserName`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-username */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public java.lang.String getUserName() { return this.jsiiGet("userName", java.lang.String.class); } /** * `AWS::AppStream::StackUserAssociation.UserName`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-username */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setUserName(final java.lang.String value) { this.jsiiSet("userName", java.util.Objects.requireNonNull(value, "userName is required")); } /** * `AWS::AppStream::StackUserAssociation.SendEmailNotification`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-sendemailnotification */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public java.lang.Object getSendEmailNotification() { return this.jsiiGet("sendEmailNotification", java.lang.Object.class); } /** * `AWS::AppStream::StackUserAssociation.SendEmailNotification`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-sendemailnotification */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setSendEmailNotification(final java.lang.Boolean value) { this.jsiiSet("sendEmailNotification", value); } /** * `AWS::AppStream::StackUserAssociation.SendEmailNotification`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-sendemailnotification */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public void setSendEmailNotification(final software.amazon.awscdk.core.IResolvable value) { this.jsiiSet("sendEmailNotification", value); } /** * A fluent builder for {@link software.amazon.awscdk.services.appstream.CfnStackUserAssociation}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public static final class Builder { /** * @return a new instance of {@link Builder}. * @param scope - scope in which this resource is defined. This parameter is required. * @param id - scoped id of the resource. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public static Builder create(final software.amazon.awscdk.core.Construct scope, final java.lang.String id) { return new Builder(scope, id); } private final software.amazon.awscdk.core.Construct scope; private final java.lang.String id; private final software.amazon.awscdk.services.appstream.CfnStackUserAssociationProps.Builder props; private Builder(final software.amazon.awscdk.core.Construct scope, final java.lang.String id) { this.scope = scope; this.id = id; this.props = new software.amazon.awscdk.services.appstream.CfnStackUserAssociationProps.Builder(); } /** * `AWS::AppStream::StackUserAssociation.AuthenticationType`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-authenticationtype * @param authenticationType `AWS::AppStream::StackUserAssociation.AuthenticationType`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder authenticationType(final java.lang.String authenticationType) { this.props.authenticationType(authenticationType); return this; } /** * `AWS::AppStream::StackUserAssociation.StackName`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-stackname * @param stackName `AWS::AppStream::StackUserAssociation.StackName`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder stackName(final java.lang.String stackName) { this.props.stackName(stackName); return this; } /** * `AWS::AppStream::StackUserAssociation.UserName`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-username * @param userName `AWS::AppStream::StackUserAssociation.UserName`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder userName(final java.lang.String userName) { this.props.userName(userName); return this; } /** * `AWS::AppStream::StackUserAssociation.SendEmailNotification`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-sendemailnotification * @param sendEmailNotification `AWS::AppStream::StackUserAssociation.SendEmailNotification`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder sendEmailNotification(final java.lang.Boolean sendEmailNotification) { this.props.sendEmailNotification(sendEmailNotification); return this; } /** * `AWS::AppStream::StackUserAssociation.SendEmailNotification`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-sendemailnotification * @param sendEmailNotification `AWS::AppStream::StackUserAssociation.SendEmailNotification`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public Builder sendEmailNotification(final software.amazon.awscdk.core.IResolvable sendEmailNotification) { this.props.sendEmailNotification(sendEmailNotification); return this; } /** * @returns a newly built instance of {@link software.amazon.awscdk.services.appstream.CfnStackUserAssociation}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.External) public software.amazon.awscdk.services.appstream.CfnStackUserAssociation build() { return new software.amazon.awscdk.services.appstream.CfnStackUserAssociation( this.scope, this.id, this.props.build() ); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy