Class BetaPackagesParams
-
- All Implemented Interfaces:
public final class BetaPackagesParamsSpecify packages (and optionally their versions) available in this environment.
When versioning, use the version semantics relevant for the package manager, e.g. for
pipusepackage==1.0.0. You are responsible for validating the package and version exist. Unversioned installs the latest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaPackagesParams.BuilderA builder for BetaPackagesParams.
public final classBetaPackagesParams.TypePackage configuration type
-
Method Summary
Modifier and Type Method Description final Optional<List<String>>apt()Ubuntu/Debian packages to install final Optional<List<String>>cargo()Rust packages to install final Optional<List<String>>gem()Ruby packages to install final Optional<List<String>>go()Go packages to install final Optional<List<String>>npm()Node. final Optional<List<String>>pip()Python packages to install final Optional<BetaPackagesParams.Type>type()Package configuration type final JsonField<List<String>>_apt()Returns the raw JSON value of apt. final JsonField<List<String>>_cargo()Returns the raw JSON value of cargo. final JsonField<List<String>>_gem()Returns the raw JSON value of gem. final JsonField<List<String>>_go()Returns the raw JSON value of go. final JsonField<List<String>>_npm()Returns the raw JSON value of npm. final JsonField<List<String>>_pip()Returns the raw JSON value of pip. final JsonField<BetaPackagesParams.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaPackagesParams.BuildertoBuilder()final BetaPackagesParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaPackagesParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaPackagesParams. -
-
Method Detail
-
type
final Optional<BetaPackagesParams.Type> type()
Package configuration type
-
_apt
final JsonField<List<String>> _apt()
Returns the raw JSON value of apt.
Unlike apt, this method doesn't throw if the JSON field has an unexpected type.
-
_cargo
final JsonField<List<String>> _cargo()
Returns the raw JSON value of cargo.
Unlike cargo, this method doesn't throw if the JSON field has an unexpected type.
-
_gem
final JsonField<List<String>> _gem()
Returns the raw JSON value of gem.
Unlike gem, this method doesn't throw if the JSON field has an unexpected type.
-
_go
final JsonField<List<String>> _go()
Returns the raw JSON value of go.
Unlike go, this method doesn't throw if the JSON field has an unexpected type.
-
_npm
final JsonField<List<String>> _npm()
Returns the raw JSON value of npm.
Unlike npm, this method doesn't throw if the JSON field has an unexpected type.
-
_pip
final JsonField<List<String>> _pip()
Returns the raw JSON value of pip.
Unlike pip, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaPackagesParams.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaPackagesParams.Builder toBuilder()
-
validate
final BetaPackagesParams validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaPackagesParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaPackagesParams.
-
-
-
-