Class TrustBundleEntry
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TrustBundleEntry.Builder,TrustBundleEntry>
A SPIFFE trust bundle and the trust domain that it belongs to.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TrustBundleEntry.Builderbuilder()final Stringbundle()The SPIFFE trust bundle for the trust domain, as a JSON document.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends TrustBundleEntry.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe SPIFFE trust domain that the trust bundle is for, for exampleexample.org.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
trustDomain
The SPIFFE trust domain that the trust bundle is for, for example
example.org. The SPIFFE IDs of workloads in this trust domain begin withspiffe://followed by the trust domain.- Returns:
- The SPIFFE trust domain that the trust bundle is for, for example
example.org. The SPIFFE IDs of workloads in this trust domain begin withspiffe://followed by the trust domain.
-
bundle
The SPIFFE trust bundle for the trust domain, as a JSON document. The document is a JSON Web Key (JWK) Set, as defined in RFC 7517, with the following members:
-
spiffe_refresh_hint– How often, in seconds, to get the trust bundle again. -
keys– The public keys for the trust domain. A key with ausevalue ofx509-svidverifies X509-SVIDs, and itsx5cmember contains the root certificate authority (CA) certificate. A key with ausevalue ofjwt-svidverifies JWT-SVIDs, and itskidmember matches thekidheader of the JWT-SVIDs that it signs.
For more information, see SPIFFE Trust Domain and Bundle.
- Returns:
- The SPIFFE trust bundle for the trust domain, as a JSON document. The document is a JSON Web Key (JWK)
Set, as defined in RFC 7517, with the following
members:
-
spiffe_refresh_hint– How often, in seconds, to get the trust bundle again. -
keys– The public keys for the trust domain. A key with ausevalue ofx509-svidverifies X509-SVIDs, and itsx5cmember contains the root certificate authority (CA) certificate. A key with ausevalue ofjwt-svidverifies JWT-SVIDs, and itskidmember matches thekidheader of the JWT-SVIDs that it signs.
For more information, see SPIFFE Trust Domain and Bundle.
-
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<TrustBundleEntry.Builder,TrustBundleEntry> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-