Package com.pulumi.gcp.diagflow.inputs
Class CxVersionState.Builder
- java.lang.Object
-
- com.pulumi.gcp.diagflow.inputs.CxVersionState.Builder
-
- Enclosing class:
- CxVersionState
public static final class CxVersionState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(CxVersionState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CxVersionState
build()
CxVersionState.Builder
createTime(com.pulumi.core.Output<java.lang.String> createTime)
CxVersionState.Builder
createTime(java.lang.String createTime)
CxVersionState.Builder
description(com.pulumi.core.Output<java.lang.String> description)
CxVersionState.Builder
description(java.lang.String description)
CxVersionState.Builder
displayName(com.pulumi.core.Output<java.lang.String> displayName)
CxVersionState.Builder
displayName(java.lang.String displayName)
CxVersionState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
CxVersionState.Builder
name(java.lang.String name)
CxVersionState.Builder
nluSettings(com.pulumi.core.Output<java.util.List<CxVersionNluSettingArgs>> nluSettings)
CxVersionState.Builder
nluSettings(CxVersionNluSettingArgs... nluSettings)
CxVersionState.Builder
nluSettings(java.util.List<CxVersionNluSettingArgs> nluSettings)
CxVersionState.Builder
parent(com.pulumi.core.Output<java.lang.String> parent)
CxVersionState.Builder
parent(java.lang.String parent)
CxVersionState.Builder
state(com.pulumi.core.Output<java.lang.String> state)
CxVersionState.Builder
state(java.lang.String state)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CxVersionState defaults)
-
-
Method Detail
-
createTime
public CxVersionState.Builder createTime(@Nullable com.pulumi.core.Output<java.lang.String> createTime)
- Parameters:
createTime
- A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".- Returns:
- builder
-
createTime
public CxVersionState.Builder createTime(java.lang.String createTime)
- Parameters:
createTime
- A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".- Returns:
- builder
-
description
public CxVersionState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.- Returns:
- builder
-
description
public CxVersionState.Builder description(java.lang.String description)
- Parameters:
description
- The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.- Returns:
- builder
-
displayName
public CxVersionState.Builder displayName(@Nullable com.pulumi.core.Output<java.lang.String> displayName)
- Parameters:
displayName
- The human-readable name of the version. Limit of 64 characters.- Returns:
- builder
-
displayName
public CxVersionState.Builder displayName(java.lang.String displayName)
- Parameters:
displayName
- The human-readable name of the version. Limit of 64 characters.- Returns:
- builder
-
name
public CxVersionState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.- Returns:
- builder
-
name
public CxVersionState.Builder name(java.lang.String name)
- Parameters:
name
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.- Returns:
- builder
-
nluSettings
public CxVersionState.Builder nluSettings(@Nullable com.pulumi.core.Output<java.util.List<CxVersionNluSettingArgs>> nluSettings)
- Parameters:
nluSettings
- The NLU settings of the flow at version creation. Structure is documented below.- Returns:
- builder
-
nluSettings
public CxVersionState.Builder nluSettings(java.util.List<CxVersionNluSettingArgs> nluSettings)
- Parameters:
nluSettings
- The NLU settings of the flow at version creation. Structure is documented below.- Returns:
- builder
-
nluSettings
public CxVersionState.Builder nluSettings(CxVersionNluSettingArgs... nluSettings)
- Parameters:
nluSettings
- The NLU settings of the flow at version creation. Structure is documented below.- Returns:
- builder
-
parent
public CxVersionState.Builder parent(@Nullable com.pulumi.core.Output<java.lang.String> parent)
- Parameters:
parent
- The Flow to create an Version for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.- Returns:
- builder
-
parent
public CxVersionState.Builder parent(java.lang.String parent)
- Parameters:
parent
- The Flow to create an Version for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.- Returns:
- builder
-
state
public CxVersionState.Builder state(@Nullable com.pulumi.core.Output<java.lang.String> state)
- Parameters:
state
- The state of this version. * RUNNING: Version is not ready to serve (e.g. training is running). * SUCCEEDED: Training has succeeded and this version is ready to serve. * FAILED: Version training failed.- Returns:
- builder
-
state
public CxVersionState.Builder state(java.lang.String state)
- Parameters:
state
- The state of this version. * RUNNING: Version is not ready to serve (e.g. training is running). * SUCCEEDED: Training has succeeded and this version is ready to serve. * FAILED: Version training failed.- Returns:
- builder
-
build
public CxVersionState build()
-
-