@Generated(value="OracleSDKGenerator", comments="API Version: 20220126") public final class AccessMaterials extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Access materials details.
Note: Objects should always be created or deserialized using the AccessMaterials.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 AccessMaterials.Builder
, which maintain a
set of all explicitly set fields called AccessMaterials.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 |
AccessMaterials.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AccessMaterials(Map<String,String> details)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AccessMaterials.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Map<String,String> |
getDetails()
The contents of the material.
|
int |
hashCode() |
AccessMaterials.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value="details") public AccessMaterials(Map<String,String> details)
public static AccessMaterials.Builder builder()
Create a new builder.
public AccessMaterials.Builder toBuilder()
public Map<String,String> getDetails()
The contents of the material. This is a map that contains the various fields needed for access.
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.