@Generated(value="software.amazon.awssdk:codegen") public final class UpdateCertificateRequest extends IotRequest implements ToCopyableBuilder<UpdateCertificateRequest.Builder,UpdateCertificateRequest>
The input for the UpdateCertificate operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateCertificateRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateCertificateRequest.Builder |
builder() |
String |
certificateId()
The ID of the certificate.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
CertificateStatus |
newStatus()
The new status.
|
String |
newStatusAsString()
The new status.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateCertificateRequest.Builder> |
serializableBuilderClass() |
UpdateCertificateRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String certificateId()
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
public final CertificateStatus newStatus()
The new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by AWS IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
If the service returns an enum value that is not available in the current SDK version, newStatus will
return CertificateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
newStatusAsString().
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by AWS IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatuspublic final String newStatusAsString()
The new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by AWS IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
If the service returns an enum value that is not available in the current SDK version, newStatus will
return CertificateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
newStatusAsString().
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by AWS IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatuspublic UpdateCertificateRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateCertificateRequest.Builder,UpdateCertificateRequest>toBuilder in class IotRequestpublic static UpdateCertificateRequest.Builder builder()
public static Class<? extends UpdateCertificateRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.