com.aliyun.ros.cdk.paidlc.RosTensorboard Maven / Gradle / Ivy
package com.aliyun.ros.cdk.paidlc;
/**
* This class is a base encapsulation around the ROS resource type ALIYUN::PAIDLC::Tensorboard
, which is used to create a TensorBoard instance.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.85.0 (build 08ee592)", date = "2024-12-13T06:45:10.454Z")
@software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.paidlc.$Module.class, fqn = "@alicloud/ros-cdk-paidlc.RosTensorboard")
public class RosTensorboard extends com.aliyun.ros.cdk.core.RosResource {
protected RosTensorboard(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected RosTensorboard(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
static {
ROS_RESOURCE_TYPE_NAME = software.amazon.jsii.JsiiObject.jsiiStaticGet(com.aliyun.ros.cdk.paidlc.RosTensorboard.class, "ROS_RESOURCE_TYPE_NAME", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* @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.
* @param enableResourcePropertyConstraint This parameter is required.
*/
public RosTensorboard(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.paidlc.RosTensorboardProps props, final @org.jetbrains.annotations.NotNull java.lang.Boolean enableResourcePropertyConstraint) {
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"), java.util.Objects.requireNonNull(enableResourcePropertyConstraint, "enableResourcePropertyConstraint is required") });
}
@Override
protected @org.jetbrains.annotations.NotNull java.util.Map renderProperties(final @org.jetbrains.annotations.NotNull java.util.Map props) {
return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.call(this, "renderProperties", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)), new Object[] { java.util.Objects.requireNonNull(props, "props is required") }));
}
/**
* The resource type name for this resource class.
*/
public final static java.lang.String ROS_RESOURCE_TYPE_NAME;
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrTensorboardId() {
return software.amazon.jsii.Kernel.get(this, "attrTensorboardId", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrTensorboardUrl() {
return software.amazon.jsii.Kernel.get(this, "attrTensorboardUrl", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
@Override
protected @org.jetbrains.annotations.NotNull java.util.Map getRosProperties() {
return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.get(this, "rosProperties", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))));
}
/**
*/
public @org.jetbrains.annotations.NotNull java.lang.Object getDataSourceId() {
return software.amazon.jsii.Kernel.get(this, "dataSourceId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setDataSourceId(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "dataSourceId", java.util.Objects.requireNonNull(value, "dataSourceId is required"));
}
/**
*/
public void setDataSourceId(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "dataSourceId", java.util.Objects.requireNonNull(value, "dataSourceId is required"));
}
/**
*/
public @org.jetbrains.annotations.NotNull java.lang.Object getDisplayName() {
return software.amazon.jsii.Kernel.get(this, "displayName", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setDisplayName(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "displayName", java.util.Objects.requireNonNull(value, "displayName is required"));
}
/**
*/
public void setDisplayName(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "displayName", java.util.Objects.requireNonNull(value, "displayName is required"));
}
public @org.jetbrains.annotations.NotNull java.lang.Boolean getEnableResourcePropertyConstraint() {
return software.amazon.jsii.Kernel.get(this, "enableResourcePropertyConstraint", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
}
public void setEnableResourcePropertyConstraint(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "enableResourcePropertyConstraint", java.util.Objects.requireNonNull(value, "enableResourcePropertyConstraint is required"));
}
/**
*/
public @org.jetbrains.annotations.NotNull java.lang.Object getWorkspaceId() {
return software.amazon.jsii.Kernel.get(this, "workspaceId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setWorkspaceId(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "workspaceId", java.util.Objects.requireNonNull(value, "workspaceId is required"));
}
/**
*/
public void setWorkspaceId(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "workspaceId", java.util.Objects.requireNonNull(value, "workspaceId is required"));
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getCpu() {
return software.amazon.jsii.Kernel.get(this, "cpu", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setCpu(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "cpu", value);
}
/**
*/
public void setCpu(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "cpu", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getDataSources() {
return software.amazon.jsii.Kernel.get(this, "dataSources", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setDataSources(final @org.jetbrains.annotations.Nullable java.util.List value) {
if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
for (int __idx_ac66f0 = 0; __idx_ac66f0 < value.size(); __idx_ac66f0++) {
final java.lang.Object __val_ac66f0 = value.get(__idx_ac66f0);
}
}
software.amazon.jsii.Kernel.set(this, "dataSources", value);
}
/**
*/
public void setDataSources(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "dataSources", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getDataSourceType() {
return software.amazon.jsii.Kernel.get(this, "dataSourceType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setDataSourceType(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "dataSourceType", value);
}
/**
*/
public void setDataSourceType(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "dataSourceType", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getJobId() {
return software.amazon.jsii.Kernel.get(this, "jobId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setJobId(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "jobId", value);
}
/**
*/
public void setJobId(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "jobId", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getMaxRunningTimeMinutes() {
return software.amazon.jsii.Kernel.get(this, "maxRunningTimeMinutes", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setMaxRunningTimeMinutes(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "maxRunningTimeMinutes", value);
}
/**
*/
public void setMaxRunningTimeMinutes(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "maxRunningTimeMinutes", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getMemory() {
return software.amazon.jsii.Kernel.get(this, "memory", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setMemory(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "memory", value);
}
/**
*/
public void setMemory(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "memory", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getOptions() {
return software.amazon.jsii.Kernel.get(this, "options", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setOptions(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "options", value);
}
/**
*/
public void setOptions(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "options", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getSourceId() {
return software.amazon.jsii.Kernel.get(this, "sourceId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setSourceId(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "sourceId", value);
}
/**
*/
public void setSourceId(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "sourceId", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getSourceType() {
return software.amazon.jsii.Kernel.get(this, "sourceType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setSourceType(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "sourceType", value);
}
/**
*/
public void setSourceType(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "sourceType", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getSummaryPath() {
return software.amazon.jsii.Kernel.get(this, "summaryPath", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setSummaryPath(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "summaryPath", value);
}
/**
*/
public void setSummaryPath(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "summaryPath", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getSummaryRelativePath() {
return software.amazon.jsii.Kernel.get(this, "summaryRelativePath", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setSummaryRelativePath(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "summaryRelativePath", value);
}
/**
*/
public void setSummaryRelativePath(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "summaryRelativePath", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getUri() {
return software.amazon.jsii.Kernel.get(this, "uri", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setUri(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "uri", value);
}
/**
*/
public void setUri(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "uri", value);
}
/**
* A fluent builder for {@link com.aliyun.ros.cdk.paidlc.RosTensorboard}.
*/
public static final class Builder implements software.amazon.jsii.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.
* @param enableResourcePropertyConstraint This parameter is required.
*/
public static Builder create(final com.aliyun.ros.cdk.core.Construct scope, final java.lang.String id, final java.lang.Boolean enableResourcePropertyConstraint) {
return new Builder(scope, id, enableResourcePropertyConstraint);
}
private final com.aliyun.ros.cdk.core.Construct scope;
private final java.lang.String id;
private final java.lang.Boolean enableResourcePropertyConstraint;
private final com.aliyun.ros.cdk.paidlc.RosTensorboardProps.Builder props;
private Builder(final com.aliyun.ros.cdk.core.Construct scope, final java.lang.String id, final java.lang.Boolean enableResourcePropertyConstraint) {
this.scope = scope;
this.id = id;
this.enableResourcePropertyConstraint = enableResourcePropertyConstraint;
this.props = new com.aliyun.ros.cdk.paidlc.RosTensorboardProps.Builder();
}
/**
* @return {@code this}
* @param dataSourceId This parameter is required.
*/
public Builder dataSourceId(final java.lang.String dataSourceId) {
this.props.dataSourceId(dataSourceId);
return this;
}
/**
* @return {@code this}
* @param dataSourceId This parameter is required.
*/
public Builder dataSourceId(final com.aliyun.ros.cdk.core.IResolvable dataSourceId) {
this.props.dataSourceId(dataSourceId);
return this;
}
/**
* @return {@code this}
* @param displayName This parameter is required.
*/
public Builder displayName(final java.lang.String displayName) {
this.props.displayName(displayName);
return this;
}
/**
* @return {@code this}
* @param displayName This parameter is required.
*/
public Builder displayName(final com.aliyun.ros.cdk.core.IResolvable displayName) {
this.props.displayName(displayName);
return this;
}
/**
* @return {@code this}
* @param workspaceId This parameter is required.
*/
public Builder workspaceId(final java.lang.String workspaceId) {
this.props.workspaceId(workspaceId);
return this;
}
/**
* @return {@code this}
* @param workspaceId This parameter is required.
*/
public Builder workspaceId(final com.aliyun.ros.cdk.core.IResolvable workspaceId) {
this.props.workspaceId(workspaceId);
return this;
}
/**
* @return {@code this}
* @param cpu This parameter is required.
*/
public Builder cpu(final java.lang.Number cpu) {
this.props.cpu(cpu);
return this;
}
/**
* @return {@code this}
* @param cpu This parameter is required.
*/
public Builder cpu(final com.aliyun.ros.cdk.core.IResolvable cpu) {
this.props.cpu(cpu);
return this;
}
/**
* @return {@code this}
* @param dataSources This parameter is required.
*/
public Builder dataSources(final java.util.List extends java.lang.Object> dataSources) {
this.props.dataSources(dataSources);
return this;
}
/**
* @return {@code this}
* @param dataSources This parameter is required.
*/
public Builder dataSources(final com.aliyun.ros.cdk.core.IResolvable dataSources) {
this.props.dataSources(dataSources);
return this;
}
/**
* @return {@code this}
* @param dataSourceType This parameter is required.
*/
public Builder dataSourceType(final java.lang.String dataSourceType) {
this.props.dataSourceType(dataSourceType);
return this;
}
/**
* @return {@code this}
* @param dataSourceType This parameter is required.
*/
public Builder dataSourceType(final com.aliyun.ros.cdk.core.IResolvable dataSourceType) {
this.props.dataSourceType(dataSourceType);
return this;
}
/**
* @return {@code this}
* @param jobId This parameter is required.
*/
public Builder jobId(final java.lang.String jobId) {
this.props.jobId(jobId);
return this;
}
/**
* @return {@code this}
* @param jobId This parameter is required.
*/
public Builder jobId(final com.aliyun.ros.cdk.core.IResolvable jobId) {
this.props.jobId(jobId);
return this;
}
/**
* @return {@code this}
* @param maxRunningTimeMinutes This parameter is required.
*/
public Builder maxRunningTimeMinutes(final java.lang.Number maxRunningTimeMinutes) {
this.props.maxRunningTimeMinutes(maxRunningTimeMinutes);
return this;
}
/**
* @return {@code this}
* @param maxRunningTimeMinutes This parameter is required.
*/
public Builder maxRunningTimeMinutes(final com.aliyun.ros.cdk.core.IResolvable maxRunningTimeMinutes) {
this.props.maxRunningTimeMinutes(maxRunningTimeMinutes);
return this;
}
/**
* @return {@code this}
* @param memory This parameter is required.
*/
public Builder memory(final java.lang.Number memory) {
this.props.memory(memory);
return this;
}
/**
* @return {@code this}
* @param memory This parameter is required.
*/
public Builder memory(final com.aliyun.ros.cdk.core.IResolvable memory) {
this.props.memory(memory);
return this;
}
/**
* @return {@code this}
* @param options This parameter is required.
*/
public Builder options(final java.lang.String options) {
this.props.options(options);
return this;
}
/**
* @return {@code this}
* @param options This parameter is required.
*/
public Builder options(final com.aliyun.ros.cdk.core.IResolvable options) {
this.props.options(options);
return this;
}
/**
* @return {@code this}
* @param sourceId This parameter is required.
*/
public Builder sourceId(final java.lang.String sourceId) {
this.props.sourceId(sourceId);
return this;
}
/**
* @return {@code this}
* @param sourceId This parameter is required.
*/
public Builder sourceId(final com.aliyun.ros.cdk.core.IResolvable sourceId) {
this.props.sourceId(sourceId);
return this;
}
/**
* @return {@code this}
* @param sourceType This parameter is required.
*/
public Builder sourceType(final java.lang.String sourceType) {
this.props.sourceType(sourceType);
return this;
}
/**
* @return {@code this}
* @param sourceType This parameter is required.
*/
public Builder sourceType(final com.aliyun.ros.cdk.core.IResolvable sourceType) {
this.props.sourceType(sourceType);
return this;
}
/**
* @return {@code this}
* @param summaryPath This parameter is required.
*/
public Builder summaryPath(final java.lang.String summaryPath) {
this.props.summaryPath(summaryPath);
return this;
}
/**
* @return {@code this}
* @param summaryPath This parameter is required.
*/
public Builder summaryPath(final com.aliyun.ros.cdk.core.IResolvable summaryPath) {
this.props.summaryPath(summaryPath);
return this;
}
/**
* @return {@code this}
* @param summaryRelativePath This parameter is required.
*/
public Builder summaryRelativePath(final java.lang.String summaryRelativePath) {
this.props.summaryRelativePath(summaryRelativePath);
return this;
}
/**
* @return {@code this}
* @param summaryRelativePath This parameter is required.
*/
public Builder summaryRelativePath(final com.aliyun.ros.cdk.core.IResolvable summaryRelativePath) {
this.props.summaryRelativePath(summaryRelativePath);
return this;
}
/**
* @return {@code this}
* @param uri This parameter is required.
*/
public Builder uri(final java.lang.String uri) {
this.props.uri(uri);
return this;
}
/**
* @return {@code this}
* @param uri This parameter is required.
*/
public Builder uri(final com.aliyun.ros.cdk.core.IResolvable uri) {
this.props.uri(uri);
return this;
}
/**
* @return a newly built instance of {@link com.aliyun.ros.cdk.paidlc.RosTensorboard}.
*/
@Override
public com.aliyun.ros.cdk.paidlc.RosTensorboard build() {
return new com.aliyun.ros.cdk.paidlc.RosTensorboard(
this.scope,
this.id,
this.props.build(),
this.enableResourcePropertyConstraint
);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy