Class ManagementAgentImage
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.managementagent.model.ManagementAgentImage
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200202") public final class ManagementAgentImage extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSupported Agent downloads
Note: Objects should always be created or deserialized using theManagementAgentImage.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 the
ManagementAgentImage.Builder, which maintain a set of all explicitly set fields calledManagementAgentImage.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 classManagementAgentImage.Builder
-
Constructor Summary
Constructors Constructor Description ManagementAgentImage(String id, PlatformTypes platformType, String platformName, PackageTypes packageType, ArchitectureTypes packageArchitectureType, String version, BigDecimal size, String checksum, String objectUrl, ObjectDetails imageObjectStorageDetails, LifecycleStates lifecycleState)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagementAgentImage.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetChecksum()Agent image content SHA256 HashStringgetId()Agent image resource idObjectDetailsgetImageObjectStorageDetails()LifecycleStatesgetLifecycleState()The current state of Management Agent ImageStringgetObjectUrl()Object storage URL for downloadArchitectureTypesgetPackageArchitectureType()The installation package target architecture typePackageTypesgetPackageType()The installation package typeStringgetPlatformName()Agent image platform display namePlatformTypesgetPlatformType()Agent image platform typeBigDecimalgetSize()Agent image size in bytesStringgetVersion()Agent image versioninthashCode()ManagementAgentImage.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ManagementAgentImage
@Deprecated @ConstructorProperties({"id","platformType","platformName","packageType","packageArchitectureType","version","size","checksum","objectUrl","imageObjectStorageDetails","lifecycleState"}) public ManagementAgentImage(String id, PlatformTypes platformType, String platformName, PackageTypes packageType, ArchitectureTypes packageArchitectureType, String version, BigDecimal size, String checksum, String objectUrl, ObjectDetails imageObjectStorageDetails, LifecycleStates lifecycleState)
Deprecated.
-
-
Method Detail
-
builder
public static ManagementAgentImage.Builder builder()
Create a new builder.
-
toBuilder
public ManagementAgentImage.Builder toBuilder()
-
getId
public String getId()
Agent image resource id- Returns:
- the value
-
getPlatformType
public PlatformTypes getPlatformType()
Agent image platform type- Returns:
- the value
-
getPlatformName
public String getPlatformName()
Agent image platform display name- Returns:
- the value
-
getPackageType
public PackageTypes getPackageType()
The installation package type- Returns:
- the value
-
getPackageArchitectureType
public ArchitectureTypes getPackageArchitectureType()
The installation package target architecture type- Returns:
- the value
-
getVersion
public String getVersion()
Agent image version- Returns:
- the value
-
getSize
public BigDecimal getSize()
Agent image size in bytes- Returns:
- the value
-
getChecksum
public String getChecksum()
Agent image content SHA256 Hash- Returns:
- the value
-
getObjectUrl
public String getObjectUrl()
Object storage URL for download- Returns:
- the value
-
getImageObjectStorageDetails
public ObjectDetails getImageObjectStorageDetails()
-
getLifecycleState
public LifecycleStates getLifecycleState()
The current state of Management Agent Image- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-