Class AttributeUnpinResponse
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.apmtraces.model.AttributeUnpinResponse
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class AttributeUnpinResponse extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Response of an individual attribute item in the bulk unpin operation.
Note: Objects should always be created or deserialized using theAttributeUnpinResponse.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 theAttributeUnpinResponse.Builder
, which maintain a set of all explicitly set fields calledAttributeUnpinResponse.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
AttributeUnpinResponse.AttributeNameSpace
Namespace of the attribute whose properties were updated.static class
AttributeUnpinResponse.AttributeStatus
Status of the attribute after this operation.static class
AttributeUnpinResponse.Builder
static class
AttributeUnpinResponse.OperationType
Type of operation - unpin.
-
Constructor Summary
Constructors Constructor Description AttributeUnpinResponse(String attributeName, AttributeUnpinResponse.OperationType operationType, AttributeUnpinResponse.AttributeNameSpace attributeNameSpace, AttributeUnpinResponse.AttributeStatus attributeStatus, Date timeUpdated)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeUnpinResponse.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAttributeName()
Attribute that was unpinned by this bulk operation.AttributeUnpinResponse.AttributeNameSpace
getAttributeNameSpace()
Namespace of the attribute whose properties were updated.AttributeUnpinResponse.AttributeStatus
getAttributeStatus()
Status of the attribute after this operation.AttributeUnpinResponse.OperationType
getOperationType()
Type of operation - unpin.Date
getTimeUpdated()
Time when the attribute was activated or deactivated.int
hashCode()
AttributeUnpinResponse.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AttributeUnpinResponse
@Deprecated @ConstructorProperties({"attributeName","operationType","attributeNameSpace","attributeStatus","timeUpdated"}) public AttributeUnpinResponse(String attributeName, AttributeUnpinResponse.OperationType operationType, AttributeUnpinResponse.AttributeNameSpace attributeNameSpace, AttributeUnpinResponse.AttributeStatus attributeStatus, Date timeUpdated)
Deprecated.
-
-
Method Detail
-
builder
public static AttributeUnpinResponse.Builder builder()
Create a new builder.
-
toBuilder
public AttributeUnpinResponse.Builder toBuilder()
-
getAttributeName
public String getAttributeName()
Attribute that was unpinned by this bulk operation.- Returns:
- the value
-
getOperationType
public AttributeUnpinResponse.OperationType getOperationType()
Type of operation - unpin.- Returns:
- the value
-
getAttributeNameSpace
public AttributeUnpinResponse.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
-
getAttributeStatus
public AttributeUnpinResponse.AttributeStatus getAttributeStatus()
Status of the attribute after this operation.The attribute can have one of the following statuses after the unpin 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 attribute unpin operation. ATTRIBUTE_UNPINNED - The attribute is marked unpinned and associated notes have been cleared. 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 size of the attribute is more than a 1000 chars. ATTRIBUTE_NOT_FOUND - The attribute was not found in the set of pinned attributes. ATTRIBUTE_NOT_PROCESSED - The attribute was not processed, as there was another attribute in this bulk request collection that resulted in a processing error.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
Time when the attribute was activated or deactivated.Note that ingest might not have picked up the changes even if this time has elapsed.
- 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
-
-