@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class AttributeUpdateNotesResponse extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Response of an individual attribute item in the bulk update notes operation.
Note: Objects should always be created or deserialized using the AttributeUpdateNotesResponse.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 AttributeUpdateNotesResponse.Builder
, which maintain a
set of all explicitly set fields called AttributeUpdateNotesResponse.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
AttributeUpdateNotesResponse.AttributeNameSpace
Namespace of the attribute whose notes were updated.
|
static class |
AttributeUpdateNotesResponse.AttributeStatus
Status of the attribute after this operation.
|
static class |
AttributeUpdateNotesResponse.Builder |
static class |
AttributeUpdateNotesResponse.OperationType
Type of operation - UPDATE_NOTES.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AttributeUpdateNotesResponse(String attributeName,
String notes,
AttributeUpdateNotesResponse.OperationType operationType,
AttributeUpdateNotesResponse.AttributeNameSpace attributeNameSpace,
AttributeUpdateNotesResponse.AttributeStatus attributeStatus,
Date timeUpdated)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AttributeUpdateNotesResponse.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAttributeName()
Attribute for which notes were added to or edited in this bulk operation.
|
AttributeUpdateNotesResponse.AttributeNameSpace |
getAttributeNameSpace()
Namespace of the attribute whose notes were updated.
|
AttributeUpdateNotesResponse.AttributeStatus |
getAttributeStatus()
Status of the attribute after this operation.
|
String |
getNotes()
Notes added to or edited for this attribute.
|
AttributeUpdateNotesResponse.OperationType |
getOperationType()
Type of operation - UPDATE_NOTES.
|
Date |
getTimeUpdated()
Time when the attribute’s notes were updated.
|
int |
hashCode() |
AttributeUpdateNotesResponse.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"attributeName","notes","operationType","attributeNameSpace","attributeStatus","timeUpdated"}) public AttributeUpdateNotesResponse(String attributeName, String notes, AttributeUpdateNotesResponse.OperationType operationType, AttributeUpdateNotesResponse.AttributeNameSpace attributeNameSpace, AttributeUpdateNotesResponse.AttributeStatus attributeStatus, Date timeUpdated)
public static AttributeUpdateNotesResponse.Builder builder()
Create a new builder.
public AttributeUpdateNotesResponse.Builder toBuilder()
public String getAttributeName()
Attribute for which notes were added to or edited in this bulk operation.
public String getNotes()
Notes added to or edited for this attribute.
public AttributeUpdateNotesResponse.OperationType getOperationType()
Type of operation - UPDATE_NOTES.
public AttributeUpdateNotesResponse.AttributeNameSpace getAttributeNameSpace()
Namespace of the attribute whose notes were updated. The attributeNameSpace will default to TRACES if it is not passed in.
public AttributeUpdateNotesResponse.AttributeStatus getAttributeStatus()
Status of the attribute after this operation. The attribute can have one of the following statuses after the update notes operation. The attribute can have either a success status or an error status. The status of the attribute must be correlated with the operation status property in the bulk operation metadata object. The bulk operation will be successful only when all attributes in the bulk request are processed successfully and they get a success status back. The following are successful status values of individual attribute items in a bulk update notes operation. ATTRIBUTE_NOTES_UPDATED - The attribute’s notes have been updated with the given notes. DUPLICATE_ATTRIBUTE - The attribute is a duplicate of an attribute that was present in this bulk request. Note that we deduplicate the attribute collection, process only unique attributes, and call out duplicates. A duplicate attribute in a bulk request will not prevent the processing of further attributes in the bulk operation. The following values are error statuses and the bulk processing is stopped when the first error is encountered. INVALID_ATTRIBUTE - The attribute is invalid. The length of the notes is more than a 1000 characters. ATTRIBUTE_NOT_PROCESSED - The attribute was not processed, as there was another attribute in this bulk request collection that resulted in a processing error. ATTRIBUTE_DOES_NOT_EXIST - Attribute was neither active nor pinned inactive. NOTES_TOO_LONG - Attribute notes were too long (more than 1000 chars).
public Date getTimeUpdated()
Time when the attribute’s notes were updated.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.