Class GenericSecret
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.GenericSecret
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GenericSecret extends com.ibm.cloud.sdk.core.service.model.GenericModelOnly needed for generic webhook trigger type. Secret used to start generic webhook trigger.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGenericSecret.AlgorithmAlgorithm used for `digest_matches` secret type.static classGenericSecret.BuilderBuilder.static interfaceGenericSecret.SourceSecret location, not needed if secret type is `internal_validation`.static interfaceGenericSecret.TypeSecret type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringalgorithm()Gets the algorithm.java.lang.StringkeyName()Gets the keyName.GenericSecret.BuildernewBuilder()New builder.java.lang.Stringsource()Gets the source.java.lang.Stringtype()Gets the type.java.lang.Stringvalue()Gets the value.
-
-
-
Method Detail
-
newBuilder
public GenericSecret.Builder newBuilder()
New builder.- Returns:
- a GenericSecret builder
-
type
public java.lang.String type()
Gets the type. Secret type.- Returns:
- the type
-
value
public java.lang.String value()
Gets the value. Secret value, not needed if secret type is `internal_validation`.- Returns:
- the value
-
source
public java.lang.String source()
Gets the source. Secret location, not needed if secret type is `internal_validation`.- Returns:
- the source
-
keyName
public java.lang.String keyName()
Gets the keyName. Secret name, not needed if type is `internal_validation`.- Returns:
- the keyName
-
algorithm
public java.lang.String algorithm()
Gets the algorithm. Algorithm used for `digest_matches` secret type. Only needed for `digest_matches` secret type.- Returns:
- the algorithm
-
-