Class AddonVersions
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.containerengine.model.AddonVersions
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public final class AddonVersions extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The properties that define a work request resource.
Note: Objects should always be created or deserialized using theAddonVersions.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theAddonVersions.Builder
, which maintain a set of all explicitly set fields calledAddonVersions.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddonVersions.Builder
static class
AddonVersions.Status
Current state of the addon, only active will be visible to customer, visibility of versions in other status will be filtered based on limits property.
-
Constructor Summary
Constructors Constructor Description AddonVersions(AddonVersions.Status status, String versionNumber, String description, KubernetesVersionsFilters kubernetesVersionFilters, List<AddonVersionConfiguration> configurations)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddonVersions.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<AddonVersionConfiguration>
getConfigurations()
Addon version configuration details.String
getDescription()
Information about the addon version.KubernetesVersionsFilters
getKubernetesVersionFilters()
The range of kubernetes versions an addon can be configured.AddonVersions.Status
getStatus()
Current state of the addon, only active will be visible to customer, visibility of versions in other status will be filtered based on limits property.String
getVersionNumber()
Version number, need be comparable within an addon.int
hashCode()
AddonVersions.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AddonVersions
@Deprecated @ConstructorProperties({"status","versionNumber","description","kubernetesVersionFilters","configurations"}) public AddonVersions(AddonVersions.Status status, String versionNumber, String description, KubernetesVersionsFilters kubernetesVersionFilters, List<AddonVersionConfiguration> configurations)
Deprecated.
-
-
Method Detail
-
builder
public static AddonVersions.Builder builder()
Create a new builder.
-
toBuilder
public AddonVersions.Builder toBuilder()
-
getStatus
public AddonVersions.Status getStatus()
Current state of the addon, only active will be visible to customer, visibility of versions in other status will be filtered based on limits property.- Returns:
- the value
-
getVersionNumber
public String getVersionNumber()
Version number, need be comparable within an addon.- Returns:
- the value
-
getDescription
public String getDescription()
Information about the addon version.- Returns:
- the value
-
getKubernetesVersionFilters
public KubernetesVersionsFilters getKubernetesVersionFilters()
The range of kubernetes versions an addon can be configured.- Returns:
- the value
-
getConfigurations
public List<AddonVersionConfiguration> getConfigurations()
Addon version configuration details.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-