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

io.github.hsiehshujeng.cdk.emrserverless.quickdemo.EmrStudioDeveloperStackProps Maven / Gradle / Ivy

There is a newer version: 2.0.614
Show newest version
package io.github.hsiehshujeng.cdk.emrserverless.quickdemo;

/**
 * Interface for Service Catalog of EMR cluster templates.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.105.0 (build 0a2adcb)", date = "2024-12-02T01:11:38.402Z")
@software.amazon.jsii.Jsii(module = io.github.hsiehshujeng.cdk.emrserverless.quickdemo.$Module.class, fqn = "cdk-emrserverless-with-delta-lake.EmrStudioDeveloperStackProps")
@software.amazon.jsii.Jsii.Proxy(EmrStudioDeveloperStackProps.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface EmrStudioDeveloperStackProps extends software.amazon.jsii.JsiiSerializable {

    /**
     * an IAM group you wish to associate with the Portfolio for EMR cluster template.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.iam.IGroup getGroup() {
        return null;
    }

    /**
     * The provider name in a Service Catalog for EMR cluster templates.
     * 

* Default: - 'scott.hsieh' */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getProviderName() { return null; } /** * an IAM role you wish to associate with the Portfolio for EMR cluster template. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.iam.IRole getRole() { return null; } /** * an IAM user you wish to associate with the Portfolio for EMR cluster template. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.iam.IUser getUser() { return null; } /** * @return a {@link Builder} of {@link EmrStudioDeveloperStackProps} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) static Builder builder() { return new Builder(); } /** * A builder for {@link EmrStudioDeveloperStackProps} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static final class Builder implements software.amazon.jsii.Builder { software.amazon.awscdk.services.iam.IGroup group; java.lang.String providerName; software.amazon.awscdk.services.iam.IRole role; software.amazon.awscdk.services.iam.IUser user; /** * Sets the value of {@link EmrStudioDeveloperStackProps#getGroup} * @param group an IAM group you wish to associate with the Portfolio for EMR cluster template. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder group(software.amazon.awscdk.services.iam.IGroup group) { this.group = group; return this; } /** * Sets the value of {@link EmrStudioDeveloperStackProps#getProviderName} * @param providerName The provider name in a Service Catalog for EMR cluster templates. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder providerName(java.lang.String providerName) { this.providerName = providerName; return this; } /** * Sets the value of {@link EmrStudioDeveloperStackProps#getRole} * @param role an IAM role you wish to associate with the Portfolio for EMR cluster template. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder role(software.amazon.awscdk.services.iam.IRole role) { this.role = role; return this; } /** * Sets the value of {@link EmrStudioDeveloperStackProps#getUser} * @param user an IAM user you wish to associate with the Portfolio for EMR cluster template. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder user(software.amazon.awscdk.services.iam.IUser user) { this.user = user; return this; } /** * Builds the configured instance. * @return a new instance of {@link EmrStudioDeveloperStackProps} * @throws NullPointerException if any required attribute was not provided */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public EmrStudioDeveloperStackProps build() { return new Jsii$Proxy(this); } } /** * An implementation for {@link EmrStudioDeveloperStackProps} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @software.amazon.jsii.Internal final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EmrStudioDeveloperStackProps { private final software.amazon.awscdk.services.iam.IGroup group; private final java.lang.String providerName; private final software.amazon.awscdk.services.iam.IRole role; private final software.amazon.awscdk.services.iam.IUser user; /** * Constructor that initializes the object based on values retrieved from the JsiiObject. * @param objRef Reference to the JSII managed object. */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); this.group = software.amazon.jsii.Kernel.get(this, "group", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.iam.IGroup.class)); this.providerName = software.amazon.jsii.Kernel.get(this, "providerName", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.role = software.amazon.jsii.Kernel.get(this, "role", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.iam.IRole.class)); this.user = software.amazon.jsii.Kernel.get(this, "user", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.iam.IUser.class)); } /** * Constructor that initializes the object based on literal property values passed by the {@link Builder}. */ protected Jsii$Proxy(final Builder builder) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); this.group = builder.group; this.providerName = builder.providerName; this.role = builder.role; this.user = builder.user; } @Override public final software.amazon.awscdk.services.iam.IGroup getGroup() { return this.group; } @Override public final java.lang.String getProviderName() { return this.providerName; } @Override public final software.amazon.awscdk.services.iam.IRole getRole() { return this.role; } @Override public final software.amazon.awscdk.services.iam.IUser getUser() { return this.user; } @Override @software.amazon.jsii.Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); if (this.getGroup() != null) { data.set("group", om.valueToTree(this.getGroup())); } if (this.getProviderName() != null) { data.set("providerName", om.valueToTree(this.getProviderName())); } if (this.getRole() != null) { data.set("role", om.valueToTree(this.getRole())); } if (this.getUser() != null) { data.set("user", om.valueToTree(this.getUser())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); struct.set("fqn", om.valueToTree("cdk-emrserverless-with-delta-lake.EmrStudioDeveloperStackProps")); struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); obj.set("$jsii.struct", struct); return obj; } @Override public final boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; EmrStudioDeveloperStackProps.Jsii$Proxy that = (EmrStudioDeveloperStackProps.Jsii$Proxy) o; if (this.group != null ? !this.group.equals(that.group) : that.group != null) return false; if (this.providerName != null ? !this.providerName.equals(that.providerName) : that.providerName != null) return false; if (this.role != null ? !this.role.equals(that.role) : that.role != null) return false; return this.user != null ? this.user.equals(that.user) : that.user == null; } @Override public final int hashCode() { int result = this.group != null ? this.group.hashCode() : 0; result = 31 * result + (this.providerName != null ? this.providerName.hashCode() : 0); result = 31 * result + (this.role != null ? this.role.hashCode() : 0); result = 31 * result + (this.user != null ? this.user.hashCode() : 0); return result; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy