Class UpdateCaCertificateRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iot.model.IotRequest
-
- software.amazon.awssdk.services.iot.model.UpdateCaCertificateRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateCaCertificateRequest.Builder,UpdateCaCertificateRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateCaCertificateRequest extends IotRequest implements ToCopyableBuilder<UpdateCaCertificateRequest.Builder,UpdateCaCertificateRequest>
The input to the UpdateCACertificate operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateCaCertificateRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateCaCertificateRequest.Builderbuilder()StringcertificateId()The CA certificate identifier.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AutoRegistrationStatusnewAutoRegistrationStatus()The new value for the auto registration status.StringnewAutoRegistrationStatusAsString()The new value for the auto registration status.CACertificateStatusnewStatus()The updated status of the CA certificate.StringnewStatusAsString()The updated status of the CA certificate.RegistrationConfigregistrationConfig()Information about the registration configuration.BooleanremoveAutoRegistration()If true, removes auto registration.List<SdkField<?>>sdkFields()static Class<? extends UpdateCaCertificateRequest.Builder>serializableBuilderClass()UpdateCaCertificateRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
certificateId
public final String certificateId()
The CA certificate identifier.
- Returns:
- The CA certificate identifier.
-
newStatus
public final CACertificateStatus newStatus()
The updated status of the CA certificate.
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,
newStatuswill returnCACertificateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnewStatusAsString().- Returns:
- The updated status of the CA certificate.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
- See Also:
CACertificateStatus
-
newStatusAsString
public final String newStatusAsString()
The updated status of the CA certificate.
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,
newStatuswill returnCACertificateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnewStatusAsString().- Returns:
- The updated status of the CA certificate.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
- See Also:
CACertificateStatus
-
newAutoRegistrationStatus
public final AutoRegistrationStatus newAutoRegistrationStatus()
The new value for the auto registration status. Valid values are: "ENABLE" or "DISABLE".
If the service returns an enum value that is not available in the current SDK version,
newAutoRegistrationStatuswill returnAutoRegistrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnewAutoRegistrationStatusAsString().- Returns:
- The new value for the auto registration status. Valid values are: "ENABLE" or "DISABLE".
- See Also:
AutoRegistrationStatus
-
newAutoRegistrationStatusAsString
public final String newAutoRegistrationStatusAsString()
The new value for the auto registration status. Valid values are: "ENABLE" or "DISABLE".
If the service returns an enum value that is not available in the current SDK version,
newAutoRegistrationStatuswill returnAutoRegistrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnewAutoRegistrationStatusAsString().- Returns:
- The new value for the auto registration status. Valid values are: "ENABLE" or "DISABLE".
- See Also:
AutoRegistrationStatus
-
registrationConfig
public final RegistrationConfig registrationConfig()
Information about the registration configuration.
- Returns:
- Information about the registration configuration.
-
removeAutoRegistration
public final Boolean removeAutoRegistration()
If true, removes auto registration.
- Returns:
- If true, removes auto registration.
-
toBuilder
public UpdateCaCertificateRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateCaCertificateRequest.Builder,UpdateCaCertificateRequest>- Specified by:
toBuilderin classIotRequest
-
builder
public static UpdateCaCertificateRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateCaCertificateRequest.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
-
-