@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateInstanceDetails extends Object
Note: Objects should always be created or deserialized using the UpdateInstanceDetails.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 UpdateInstanceDetails.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
UpdateInstanceDetails.Builder |
Constructor and Description |
---|
UpdateInstanceDetails(Map<String,Map<String,Object>> definedTags,
String displayName,
Map<String,String> freeformTags,
UpdateInstanceAgentConfigDetails agentConfig,
Map<String,String> metadata,
Map<String,Object> extendedMetadata)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateInstanceDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
UpdateInstanceAgentConfigDetails |
getAgentConfig()
Instance agent configuration options to choose for updating the instance
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDisplayName()
A user-friendly name.
|
Map<String,Object> |
getExtendedMetadata()
Additional metadata key/value pairs that you provide.
|
Map<String,String> |
getFreeformTags()
Free-form tags for this resource.
|
Map<String,String> |
getMetadata()
Custom metadata key/value string pairs that you provide.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"definedTags","displayName","freeformTags","agentConfig","metadata","extendedMetadata"}) @Deprecated public UpdateInstanceDetails(Map<String,Map<String,Object>> definedTags, String displayName, Map<String,String> freeformTags, UpdateInstanceAgentConfigDetails agentConfig, Map<String,String> metadata, Map<String,Object> extendedMetadata)
public static UpdateInstanceDetails.Builder builder()
Create a new builder.
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {\"Operations\": {\"CostCenter\": \"42\"}}
public String getDisplayName()
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My bare metal instance
public Map<String,String> getFreeformTags()
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {\"Department\": \"Finance\"}
public UpdateInstanceAgentConfigDetails getAgentConfig()
Instance agent configuration options to choose for updating the instance
public Map<String,String> getMetadata()
Custom metadata key/value string pairs that you provide. Any set of key/value pairs provided here will completely replace the current set of key/value pairs in the ‘metadata’ field on the instance.
Both the ‘user_data’ and ‘ssh_authorized_keys’ fields cannot be changed after an instance has launched. Any request which updates, removes, or adds either of these fields will be rejected. You must provide the same values for ‘user_data’ and ‘ssh_authorized_keys’ that already exist on the instance.
public Map<String,Object> getExtendedMetadata()
Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the ‘metadata’ object.
They are distinguished from ‘metadata’ fields in that these can be nested JSON objects (whereas ‘metadata’ fields are string/string maps only).
Both the ‘user_data’ and ‘ssh_authorized_keys’ fields cannot be changed after an instance has launched. Any request which updates, removes, or adds either of these fields will be rejected. You must provide the same values for ‘user_data’ and ‘ssh_authorized_keys’ that already exist on the instance.
Copyright © 2016–2019. All rights reserved.