Class AttributePinResponse
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.apmtraces.model.AttributePinResponse
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class AttributePinResponse extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelResponse of an individual attribute item in the bulk pin operation.
 Note: Objects should always be created or deserialized using theAttributePinResponse.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 theAttributePinResponse.Builder, which maintain a set of all explicitly set fields calledAttributePinResponse.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 SummaryNested Classes Modifier and Type Class Description static classAttributePinResponse.AttributeNameSpaceNamespace of the attribute whose properties were updated.static classAttributePinResponse.AttributeStatusStatus of the attribute after this operation.static classAttributePinResponse.Builderstatic classAttributePinResponse.OperationTypeType of operation - pin.
 - 
Constructor SummaryConstructors Constructor Description AttributePinResponse(String attributeName, String notes, AttributePinResponse.OperationType operationType, AttributePinResponse.AttributeNameSpace attributeNameSpace, AttributePinResponse.AttributeStatus attributeStatus, Date timeUpdated)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributePinResponse.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAttributeName()Attribute that was pinned by this bulk operation.AttributePinResponse.AttributeNameSpacegetAttributeNameSpace()Namespace of the attribute whose properties were updated.AttributePinResponse.AttributeStatusgetAttributeStatus()Status of the attribute after this operation.StringgetNotes()Notes added to this attribute.AttributePinResponse.OperationTypegetOperationType()Type of operation - pin.DategetTimeUpdated()Time when the attribute was activated or deactivated.inthashCode()AttributePinResponse.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
AttributePinResponse@Deprecated @ConstructorProperties({"attributeName","notes","operationType","attributeNameSpace","attributeStatus","timeUpdated"}) public AttributePinResponse(String attributeName, String notes, AttributePinResponse.OperationType operationType, AttributePinResponse.AttributeNameSpace attributeNameSpace, AttributePinResponse.AttributeStatus attributeStatus, Date timeUpdated) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static AttributePinResponse.Builder builder() Create a new builder.
 - 
toBuilderpublic AttributePinResponse.Builder toBuilder() 
 - 
getAttributeNamepublic String getAttributeName() Attribute that was pinned by this bulk operation.- Returns:
- the value
 
 - 
getNotespublic String getNotes() Notes added to this attribute.- Returns:
- the value
 
 - 
getOperationTypepublic AttributePinResponse.OperationType getOperationType() Type of operation - pin.- Returns:
- the value
 
 - 
getAttributeNameSpacepublic AttributePinResponse.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
 
 - 
getAttributeStatuspublic AttributePinResponse.AttributeStatus getAttributeStatus() Status of the attribute after this operation.The attribute can have one of the following statuses after the pin 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 pin operation. ATTRIBUTE_PINNED - The attribute is marked pinned and associated notes have been added. ATTRIBUTE_ALREADY_PINNED - The caller is trying to pin an attribute that has already been pinned. 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. PIN_NOT_ALLOWED - The caller has asked to pin an active attribute which is not allowed. 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. - Returns:
- the value
 
 - 
getTimeUpdatedpublic 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
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-