io.github.cdklabs.cdk.data.zone.IProject Maven / Gradle / Ivy
Show all versions of cdk-data-zone Show documentation
package io.github.cdklabs.cdk.data.zone;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-12-05T19:37:12.602Z")
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.data.zone.$Module.class, fqn = "cdk-data-zone.IProject")
@software.amazon.jsii.Jsii.Proxy(IProject.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface IProject extends software.amazon.jsii.JsiiSerializable, io.github.cdklabs.cdk.data.zone.IResource {
/**
* (experimental) The Amazon user who created the project.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.lang.String getCreatedBy();
/**
* (experimental) The identifier of a Amazon domain where the project exists.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.lang.String getProjectDomainId();
/**
* (experimental) The identifier of a project.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.lang.String getProjectId();
/**
* @param forms This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
void addFormMetadata(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.Forms forms);
/**
* @param glossaries This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
void addGlossaries(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.Glossaries glossaries);
/**
* @param options This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.Glossary addGlossary(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.GlossaryOptions options);
/**
* @param term This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
void addGlossaryTerm(final @org.jetbrains.annotations.NotNull java.lang.String term);
/**
* @param id This parameter is required.
* @param options This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
void addMember(final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.MemberOptions options);
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements io.github.cdklabs.cdk.data.zone.IProject.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* The tree node.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final @org.jetbrains.annotations.NotNull software.constructs.Node getNode() {
return software.amazon.jsii.Kernel.get(this, "node", software.amazon.jsii.NativeType.forClass(software.constructs.Node.class));
}
/**
* The environment this resource belongs to.
*
* For resources that are created and managed by the CDK
* (generally, those created by creating new class instances like Role, Bucket, etc.),
* this is always the same as the environment of the stack they belong to;
* however, for imported resources
* (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
* that might be different than the stack they were imported into.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.ResourceEnvironment getEnv() {
return software.amazon.jsii.Kernel.get(this, "env", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.ResourceEnvironment.class));
}
/**
* The stack in which this resource is defined.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.Stack getStack() {
return software.amazon.jsii.Kernel.get(this, "stack", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.Stack.class));
}
/**
* (experimental) The timestamp of when the data source was created.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final @org.jetbrains.annotations.NotNull java.lang.String getCreatedAt() {
return software.amazon.jsii.Kernel.get(this, "createdAt", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) The timestamp of when the data source was updated.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final @org.jetbrains.annotations.NotNull java.lang.String getUpdatedAt() {
return software.amazon.jsii.Kernel.get(this, "updatedAt", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) The Amazon user who created the project.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final @org.jetbrains.annotations.NotNull java.lang.String getCreatedBy() {
return software.amazon.jsii.Kernel.get(this, "createdBy", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) The identifier of a Amazon domain where the project exists.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final @org.jetbrains.annotations.NotNull java.lang.String getProjectDomainId() {
return software.amazon.jsii.Kernel.get(this, "projectDomainId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) The identifier of a project.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final @org.jetbrains.annotations.NotNull java.lang.String getProjectId() {
return software.amazon.jsii.Kernel.get(this, "projectId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* Apply the given removal policy to this resource.
*
* The Removal Policy controls what happens to this resource when it stops
* being managed by CloudFormation, either because you've removed it from the
* CDK application or because you've made a change that requires the resource
* to be replaced.
*
* The resource can be deleted (RemovalPolicy.DESTROY
), or left in your AWS
* account for data recovery and cleanup later (RemovalPolicy.RETAIN
).
*
* @param policy This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public final void applyRemovalPolicy(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.RemovalPolicy policy) {
software.amazon.jsii.Kernel.call(this, "applyRemovalPolicy", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(policy, "policy is required") });
}
/**
* @param forms This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final void addFormMetadata(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.Forms forms) {
software.amazon.jsii.Kernel.call(this, "addFormMetadata", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(forms, "forms is required") });
}
/**
* @param glossaries This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final void addGlossaries(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.Glossaries glossaries) {
software.amazon.jsii.Kernel.call(this, "addGlossaries", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(glossaries, "glossaries is required") });
}
/**
* @param options This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.Glossary addGlossary(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.GlossaryOptions options) {
return software.amazon.jsii.Kernel.call(this, "addGlossary", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.data.zone.Glossary.class), new Object[] { java.util.Objects.requireNonNull(options, "options is required") });
}
/**
* @param term This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final void addGlossaryTerm(final @org.jetbrains.annotations.NotNull java.lang.String term) {
software.amazon.jsii.Kernel.call(this, "addGlossaryTerm", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(term, "term is required") });
}
/**
* @param id This parameter is required.
* @param options This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final void addMember(final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.MemberOptions options) {
software.amazon.jsii.Kernel.call(this, "addMember", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(options, "options is required") });
}
}
/**
* Internal default implementation for {@link IProject}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends IProject, io.github.cdklabs.cdk.data.zone.IResource.Jsii$Default {
/**
* The tree node.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.NotNull software.constructs.Node getNode() {
return software.amazon.jsii.Kernel.get(this, "node", software.amazon.jsii.NativeType.forClass(software.constructs.Node.class));
}
/**
* The environment this resource belongs to.
*
* For resources that are created and managed by the CDK
* (generally, those created by creating new class instances like Role, Bucket, etc.),
* this is always the same as the environment of the stack they belong to;
* however, for imported resources
* (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
* that might be different than the stack they were imported into.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.NotNull software.amazon.awscdk.ResourceEnvironment getEnv() {
return software.amazon.jsii.Kernel.get(this, "env", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.ResourceEnvironment.class));
}
/**
* The stack in which this resource is defined.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.NotNull software.amazon.awscdk.Stack getStack() {
return software.amazon.jsii.Kernel.get(this, "stack", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.Stack.class));
}
/**
* (experimental) The timestamp of when the data source was created.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.NotNull java.lang.String getCreatedAt() {
return software.amazon.jsii.Kernel.get(this, "createdAt", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) The timestamp of when the data source was updated.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.NotNull java.lang.String getUpdatedAt() {
return software.amazon.jsii.Kernel.get(this, "updatedAt", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) The Amazon user who created the project.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.NotNull java.lang.String getCreatedBy() {
return software.amazon.jsii.Kernel.get(this, "createdBy", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) The identifier of a Amazon domain where the project exists.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.NotNull java.lang.String getProjectDomainId() {
return software.amazon.jsii.Kernel.get(this, "projectDomainId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) The identifier of a project.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.NotNull java.lang.String getProjectId() {
return software.amazon.jsii.Kernel.get(this, "projectId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* Apply the given removal policy to this resource.
*
* The Removal Policy controls what happens to this resource when it stops
* being managed by CloudFormation, either because you've removed it from the
* CDK application or because you've made a change that requires the resource
* to be replaced.
*
* The resource can be deleted (RemovalPolicy.DESTROY
), or left in your AWS
* account for data recovery and cleanup later (RemovalPolicy.RETAIN
).
*
* @param policy This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
default void applyRemovalPolicy(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.RemovalPolicy policy) {
software.amazon.jsii.Kernel.call(this, "applyRemovalPolicy", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(policy, "policy is required") });
}
/**
* @param forms This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default void addFormMetadata(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.Forms forms) {
software.amazon.jsii.Kernel.call(this, "addFormMetadata", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(forms, "forms is required") });
}
/**
* @param glossaries This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default void addGlossaries(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.Glossaries glossaries) {
software.amazon.jsii.Kernel.call(this, "addGlossaries", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(glossaries, "glossaries is required") });
}
/**
* @param options This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.Glossary addGlossary(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.GlossaryOptions options) {
return software.amazon.jsii.Kernel.call(this, "addGlossary", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.data.zone.Glossary.class), new Object[] { java.util.Objects.requireNonNull(options, "options is required") });
}
/**
* @param term This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default void addGlossaryTerm(final @org.jetbrains.annotations.NotNull java.lang.String term) {
software.amazon.jsii.Kernel.call(this, "addGlossaryTerm", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(term, "term is required") });
}
/**
* @param id This parameter is required.
* @param options This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default void addMember(final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.data.zone.MemberOptions options) {
software.amazon.jsii.Kernel.call(this, "addMember", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(options, "options is required") });
}
}
}