Class GenericSecret.Builder
- java.lang.Object
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.GenericSecret.Builder
-
- Enclosing class:
- GenericSecret
public static class GenericSecret.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericSecret.Builderalgorithm(java.lang.String algorithm)Set the algorithm.GenericSecretbuild()Builds a GenericSecret.GenericSecret.BuilderkeyName(java.lang.String keyName)Set the keyName.GenericSecret.Buildersource(java.lang.String source)Set the source.GenericSecret.Buildertype(java.lang.String type)Set the type.GenericSecret.Buildervalue(java.lang.String value)Set the value.
-
-
-
Method Detail
-
build
public GenericSecret build()
Builds a GenericSecret.- Returns:
- the new GenericSecret instance
-
type
public GenericSecret.Builder type(java.lang.String type)
Set the type.- Parameters:
type- the type- Returns:
- the GenericSecret builder
-
value
public GenericSecret.Builder value(java.lang.String value)
Set the value.- Parameters:
value- the value- Returns:
- the GenericSecret builder
-
source
public GenericSecret.Builder source(java.lang.String source)
Set the source.- Parameters:
source- the source- Returns:
- the GenericSecret builder
-
keyName
public GenericSecret.Builder keyName(java.lang.String keyName)
Set the keyName.- Parameters:
keyName- the keyName- Returns:
- the GenericSecret builder
-
algorithm
public GenericSecret.Builder algorithm(java.lang.String algorithm)
Set the algorithm.- Parameters:
algorithm- the algorithm- Returns:
- the GenericSecret builder
-
-