Class AttributeUpdateResponse


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200630")
    public final class AttributeUpdateResponse
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Response of an individual attribute item in the bulk update attribute operation.
    Note: Objects should always be created or deserialized using the AttributeUpdateResponse.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 AttributeUpdateResponse.Builder, which maintain a set of all explicitly set fields called AttributeUpdateResponse.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).
    • Method Detail

      • getAttributeName

        public String getAttributeName()
        Attribute for which properties were updated in this bulk operation.
        Returns:
        the value
      • getNotes

        public String getNotes()
        Notes for the attribute.
        Returns:
        the value
      • getAttributeStatus

        public AttributeUpdateResponse.AttributeStatus getAttributeStatus()
        Status of the attribute after this operation.

        The attribute can have one of the following statuses after the update 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 attribute operation. ATTRIBUTE_UPDATED - The attribute’s properites have been updated with the given properties. 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. 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. ATTRIBUTE_UPDATE_NOT_ALLOWED - Attribute update is not allowed as it is an in-built system attribute.

        Returns:
        the value
      • getAttributeNameSpace

        public AttributeUpdateResponse.AttributeNameSpace getAttributeNameSpace()
        Namespace of the attribute whose properties were updated.

        The attributeNameSpace will default to TRACES if it is not passed in.

        Returns:
        the value
      • getTimeUpdated

        public Date getTimeUpdated()
        Time when the attribute’s properties were updated.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel