Class RegisterInstanceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.opsworks.model.OpsWorksRequest
-
- software.amazon.awssdk.services.opsworks.model.RegisterInstanceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RegisterInstanceRequest.Builder,RegisterInstanceRequest>
@Generated("software.amazon.awssdk:codegen") public final class RegisterInstanceRequest extends OpsWorksRequest implements ToCopyableBuilder<RegisterInstanceRequest.Builder,RegisterInstanceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRegisterInstanceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegisterInstanceRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringhostname()The instance's hostname.InstanceIdentityinstanceIdentity()An InstanceIdentity object that contains the instance's identity.StringprivateIp()The instance's private IP address.StringpublicIp()The instance's public IP address.StringrsaPublicKey()The instances public RSA key.StringrsaPublicKeyFingerprint()The instances public RSA key fingerprint.List<SdkField<?>>sdkFields()static Class<? extends RegisterInstanceRequest.Builder>serializableBuilderClass()StringstackId()The ID of the stack that the instance is to be registered with.RegisterInstanceRequest.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
-
stackId
public final String stackId()
The ID of the stack that the instance is to be registered with.
- Returns:
- The ID of the stack that the instance is to be registered with.
-
hostname
public final String hostname()
The instance's hostname.
- Returns:
- The instance's hostname.
-
publicIp
public final String publicIp()
The instance's public IP address.
- Returns:
- The instance's public IP address.
-
privateIp
public final String privateIp()
The instance's private IP address.
- Returns:
- The instance's private IP address.
-
rsaPublicKey
public final String rsaPublicKey()
The instances public RSA key. This key is used to encrypt communication between the instance and the service.
- Returns:
- The instances public RSA key. This key is used to encrypt communication between the instance and the service.
-
rsaPublicKeyFingerprint
public final String rsaPublicKeyFingerprint()
The instances public RSA key fingerprint.
- Returns:
- The instances public RSA key fingerprint.
-
instanceIdentity
public final InstanceIdentity instanceIdentity()
An InstanceIdentity object that contains the instance's identity.
- Returns:
- An InstanceIdentity object that contains the instance's identity.
-
toBuilder
public RegisterInstanceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RegisterInstanceRequest.Builder,RegisterInstanceRequest>- Specified by:
toBuilderin classOpsWorksRequest
-
builder
public static RegisterInstanceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RegisterInstanceRequest.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
-
-