software.amazon.awscdk.services.appsync.IField Maven / Gradle / Ivy
Show all versions of appsync Show documentation
package software.amazon.awscdk.services.appsync;
/**
* (experimental) A Graphql Field.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.72.0 (build 4b8828b)", date = "2023-01-03T16:22:41.822Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.appsync.$Module.class, fqn = "@aws-cdk/aws-appsync.IField")
@software.amazon.jsii.Jsii.Proxy(IField.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface IField extends software.amazon.jsii.JsiiSerializable {
/**
* (experimental) property determining if this attribute is a list i.e. if true, attribute would be `[Type]`.
*
* Default: false
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.lang.Boolean getIsList();
/**
* (experimental) property determining if this attribute is non-nullable i.e. if true, attribute would be `Type!` and this attribute must always have a value.
*
* Default: false
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.lang.Boolean getIsRequired();
/**
* (experimental) property determining if this attribute is a non-nullable list i.e. if true, attribute would be `[ Type ]!` and this attribute's list must always have a value.
*
* Default: false
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.lang.Boolean getIsRequiredList();
/**
* (experimental) the type of attribute.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull software.amazon.awscdk.services.appsync.Type getType();
/**
* (experimental) The options to make this field resolvable.
*
* Default: - not a resolvable field
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.appsync.ResolvableFieldOptions getFieldOptions() {
return null;
}
/**
* (experimental) the intermediate type linked to this attribute (i.e. an interface or an object).
*
* Default: - no intermediate type
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.appsync.IIntermediateType getIntermediateType() {
return null;
}
/**
* (experimental) Generate the arguments for this field.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.lang.String argsToString();
/**
* (experimental) Generate the directives for this field.
*
* Default: - no authorization modes
*
* @param modes the authorization modes of the graphql api.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.lang.String directivesToString(final @org.jetbrains.annotations.Nullable java.util.List modes);
/**
* (experimental) Generate the directives for this field.
*
* Default: - no authorization modes
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.lang.String directivesToString();
/**
* (experimental) Generate the string for this attribute.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.lang.String toString();
/**
* 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 software.amazon.awscdk.services.appsync.IField.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* (experimental) property determining if this attribute is a list i.e. if true, attribute would be `[Type]`.
*
* Default: false
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final @org.jetbrains.annotations.NotNull java.lang.Boolean getIsList() {
return software.amazon.jsii.Kernel.get(this, "isList", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
}
/**
* (experimental) property determining if this attribute is non-nullable i.e. if true, attribute would be `Type!` and this attribute must always have a value.
*
* Default: false
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final @org.jetbrains.annotations.NotNull java.lang.Boolean getIsRequired() {
return software.amazon.jsii.Kernel.get(this, "isRequired", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
}
/**
* (experimental) property determining if this attribute is a non-nullable list i.e. if true, attribute would be `[ Type ]!` and this attribute's list must always have a value.
*
* Default: false
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final @org.jetbrains.annotations.NotNull java.lang.Boolean getIsRequiredList() {
return software.amazon.jsii.Kernel.get(this, "isRequiredList", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
}
/**
* (experimental) the type of attribute.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.appsync.Type getType() {
return software.amazon.jsii.Kernel.get(this, "type", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.appsync.Type.class));
}
/**
* (experimental) The options to make this field resolvable.
*
* Default: - not a resolvable field
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.appsync.ResolvableFieldOptions getFieldOptions() {
return software.amazon.jsii.Kernel.get(this, "fieldOptions", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.appsync.ResolvableFieldOptions.class));
}
/**
* (experimental) the intermediate type linked to this attribute (i.e. an interface or an object).
*
* Default: - no intermediate type
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.appsync.IIntermediateType getIntermediateType() {
return software.amazon.jsii.Kernel.get(this, "intermediateType", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.appsync.IIntermediateType.class));
}
/**
* (experimental) Generate the arguments for this field.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.NotNull java.lang.String argsToString() {
return software.amazon.jsii.Kernel.call(this, "argsToString", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) Generate the directives for this field.
*
* Default: - no authorization modes
*
* @param modes the authorization modes of the graphql api.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.NotNull java.lang.String directivesToString(final @org.jetbrains.annotations.Nullable java.util.List modes) {
return software.amazon.jsii.Kernel.call(this, "directivesToString", software.amazon.jsii.NativeType.forClass(java.lang.String.class), new Object[] { modes });
}
/**
* (experimental) Generate the directives for this field.
*
* Default: - no authorization modes
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.NotNull java.lang.String directivesToString() {
return software.amazon.jsii.Kernel.call(this, "directivesToString", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) Generate the string for this attribute.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.NotNull java.lang.String toString() {
return software.amazon.jsii.Kernel.call(this, "toString", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
}
/**
* Internal default implementation for {@link IField}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends IField {
/**
* (experimental) property determining if this attribute is a list i.e. if true, attribute would be `[Type]`.
*
* Default: false
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.NotNull java.lang.Boolean getIsList() {
return software.amazon.jsii.Kernel.get(this, "isList", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
}
/**
* (experimental) property determining if this attribute is non-nullable i.e. if true, attribute would be `Type!` and this attribute must always have a value.
*
* Default: false
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.NotNull java.lang.Boolean getIsRequired() {
return software.amazon.jsii.Kernel.get(this, "isRequired", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
}
/**
* (experimental) property determining if this attribute is a non-nullable list i.e. if true, attribute would be `[ Type ]!` and this attribute's list must always have a value.
*
* Default: false
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.NotNull java.lang.Boolean getIsRequiredList() {
return software.amazon.jsii.Kernel.get(this, "isRequiredList", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
}
/**
* (experimental) the type of attribute.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.appsync.Type getType() {
return software.amazon.jsii.Kernel.get(this, "type", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.appsync.Type.class));
}
/**
* (experimental) The options to make this field resolvable.
*
* Default: - not a resolvable field
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.appsync.ResolvableFieldOptions getFieldOptions() {
return software.amazon.jsii.Kernel.get(this, "fieldOptions", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.appsync.ResolvableFieldOptions.class));
}
/**
* (experimental) the intermediate type linked to this attribute (i.e. an interface or an object).
*
* Default: - no intermediate type
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.appsync.IIntermediateType getIntermediateType() {
return software.amazon.jsii.Kernel.get(this, "intermediateType", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.appsync.IIntermediateType.class));
}
/**
* (experimental) Generate the arguments for this field.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default @org.jetbrains.annotations.NotNull java.lang.String argsToString() {
return software.amazon.jsii.Kernel.call(this, "argsToString", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) Generate the directives for this field.
*
* Default: - no authorization modes
*
* @param modes the authorization modes of the graphql api.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default @org.jetbrains.annotations.NotNull java.lang.String directivesToString(final @org.jetbrains.annotations.Nullable java.util.List modes) {
return software.amazon.jsii.Kernel.call(this, "directivesToString", software.amazon.jsii.NativeType.forClass(java.lang.String.class), new Object[] { modes });
}
}
}