PostBuildPatchDefinition Class
- java.
lang. Object - com.
azure. resourcemanager. kubernetesconfiguration. fluxconfigurations. models. PostBuildPatchDefinition
- com.
Implements
public final class PostBuildPatchDefinition
implements JsonSerializable<PostBuildPatchDefinition>
The postBuild definitions defining variable substitutions for this Kustomization after kustomize build.
Constructor Summary
| Constructor | Description |
|---|---|
| PostBuildPatchDefinition() |
Creates an instance of Post |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Post |
fromJson(JsonReader jsonReader)
Reads an instance of Post |
| Map<String,String> |
substitute()
Get the substitute property: Key/value pairs holding the variables to be substituted in this Kustomization. |
|
List<Substitute |
substituteFrom()
Get the substitute |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Post |
withSubstitute(Map<String,String> substitute)
Set the substitute property: Key/value pairs holding the variables to be substituted in this Kustomization. |
|
Post |
withSubstituteFrom(List<SubstituteFromPatchDefinition> substituteFrom)
Set the substitute |
Methods inherited from java.lang.Object
Constructor Details
PostBuildPatchDefinition
public PostBuildPatchDefinition()
Creates an instance of PostBuildPatchDefinition class.
Method Details
fromJson
public static PostBuildPatchDefinition fromJson(JsonReader jsonReader)
Reads an instance of PostBuildPatchDefinition from the JsonReader.
Parameters:
Returns:
Throws:
substitute
public Map<String,String> substitute()
Get the substitute property: Key/value pairs holding the variables to be substituted in this Kustomization.
Returns:
substituteFrom
public List<SubstituteFromPatchDefinition> substituteFrom()
Get the substituteFrom property: Array of ConfigMaps/Secrets from which the variables are substituted for this Kustomization.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSubstitute
public PostBuildPatchDefinition withSubstitute(Map<String,String> substitute)
Set the substitute property: Key/value pairs holding the variables to be substituted in this Kustomization.
Parameters:
Returns:
withSubstituteFrom
public PostBuildPatchDefinition withSubstituteFrom(List<SubstituteFromPatchDefinition> substituteFrom)
Set the substituteFrom property: Array of ConfigMaps/Secrets from which the variables are substituted for this Kustomization.
Parameters:
Returns: