Package com.oracle.bmc.apigateway.model
Class StaticPublicKeySet
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.apigateway.model.PublicKeySet
-
- com.oracle.bmc.apigateway.model.StaticPublicKeySet
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190501") public final class StaticPublicKeySet extends PublicKeySet
A set of static public keys that will be used to verify the JWT signature.
Note: Objects should always be created or deserialized using theStaticPublicKeySet.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 theStaticPublicKeySet.Builder
, which maintain a set of all explicitly set fields calledStaticPublicKeySet.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
StaticPublicKeySet.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.apigateway.model.PublicKeySet
PublicKeySet.Type
-
-
Constructor Summary
Constructors Constructor Description StaticPublicKeySet(List<StaticPublicKey> keys)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StaticPublicKeySet.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<StaticPublicKey>
getKeys()
The set of static public keys.int
hashCode()
StaticPublicKeySet.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
StaticPublicKeySet
@Deprecated public StaticPublicKeySet(List<StaticPublicKey> keys)
Deprecated.
-
-
Method Detail
-
builder
public static StaticPublicKeySet.Builder builder()
Create a new builder.
-
toBuilder
public StaticPublicKeySet.Builder toBuilder()
-
getKeys
public List<StaticPublicKey> getKeys()
The set of static public keys.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classPublicKeySet
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classPublicKeySet
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classPublicKeySet
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPublicKeySet
-
-