Class UpdateTrustStoreRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.workspacesweb.model.WorkSpacesWebRequest
-
- software.amazon.awssdk.services.workspacesweb.model.UpdateTrustStoreRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateTrustStoreRequest.Builder,UpdateTrustStoreRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateTrustStoreRequest extends WorkSpacesWebRequest implements ToCopyableBuilder<UpdateTrustStoreRequest.Builder,UpdateTrustStoreRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateTrustStoreRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateTrustStoreRequest.Builderbuilder()List<SdkBytes>certificatesToAdd()A list of CA certificates to add to the trust store.List<String>certificatesToDelete()A list of CA certificates to delete from a trust store.StringclientToken()A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasCertificatesToAdd()For responses, this returns true if the service returned a value for the CertificatesToAdd property.booleanhasCertificatesToDelete()For responses, this returns true if the service returned a value for the CertificatesToDelete property.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends UpdateTrustStoreRequest.Builder>serializableBuilderClass()UpdateTrustStoreRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtrustStoreArn()The ARN of the trust store.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
hasCertificatesToAdd
public final boolean hasCertificatesToAdd()
For responses, this returns true if the service returned a value for the CertificatesToAdd property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
certificatesToAdd
public final List<SdkBytes> certificatesToAdd()
A list of CA certificates to add to the trust store.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasCertificatesToAdd()method.- Returns:
- A list of CA certificates to add to the trust store.
-
hasCertificatesToDelete
public final boolean hasCertificatesToDelete()
For responses, this returns true if the service returned a value for the CertificatesToDelete property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
certificatesToDelete
public final List<String> certificatesToDelete()
A list of CA certificates to delete from a trust store.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasCertificatesToDelete()method.- Returns:
- A list of CA certificates to delete from a trust store.
-
clientToken
public final String clientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token return the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
- Returns:
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Idempotency ensures that an API request completes only once. With an idempotent request, if the original
request completes successfully, subsequent retries with the same client token return the result from the
original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
-
trustStoreArn
public final String trustStoreArn()
The ARN of the trust store.
- Returns:
- The ARN of the trust store.
-
toBuilder
public UpdateTrustStoreRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateTrustStoreRequest.Builder,UpdateTrustStoreRequest>- Specified by:
toBuilderin classWorkSpacesWebRequest
-
builder
public static UpdateTrustStoreRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateTrustStoreRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-