Class RegisterApplicationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ssmsap.model.SsmSapRequest
-
- software.amazon.awssdk.services.ssmsap.model.RegisterApplicationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RegisterApplicationRequest.Builder,RegisterApplicationRequest>
@Generated("software.amazon.awssdk:codegen") public final class RegisterApplicationRequest extends SsmSapRequest implements ToCopyableBuilder<RegisterApplicationRequest.Builder,RegisterApplicationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRegisterApplicationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationId()The ID of the application.ApplicationTypeapplicationType()The type of the application.StringapplicationTypeAsString()The type of the application.static RegisterApplicationRequest.Builderbuilder()List<ApplicationCredential>credentials()The credentials of the SAP application.StringdatabaseArn()The Amazon Resource Name of the SAP HANA database.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasCredentials()For responses, this returns true if the service returned a value for the Credentials property.inthashCode()booleanhasInstances()For responses, this returns true if the service returned a value for the Instances property.booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.List<String>instances()The Amazon EC2 instances on which your SAP application is running.StringsapInstanceNumber()The SAP instance number of the application.List<SdkField<?>>sdkFields()static Class<? extends RegisterApplicationRequest.Builder>serializableBuilderClass()Stringsid()The System ID of the application.Map<String,String>tags()The tags to be attached to the SAP application.RegisterApplicationRequest.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
-
applicationId
public final String applicationId()
The ID of the application.
- Returns:
- The ID of the application.
-
applicationType
public final ApplicationType applicationType()
The type of the application.
If the service returns an enum value that is not available in the current SDK version,
applicationTypewill returnApplicationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromapplicationTypeAsString().- Returns:
- The type of the application.
- See Also:
ApplicationType
-
applicationTypeAsString
public final String applicationTypeAsString()
The type of the application.
If the service returns an enum value that is not available in the current SDK version,
applicationTypewill returnApplicationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromapplicationTypeAsString().- Returns:
- The type of the application.
- See Also:
ApplicationType
-
hasInstances
public final boolean hasInstances()
For responses, this returns true if the service returned a value for the Instances 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.
-
instances
public final List<String> instances()
The Amazon EC2 instances on which your SAP application is running.
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
hasInstances()method.- Returns:
- The Amazon EC2 instances on which your SAP application is running.
-
sapInstanceNumber
public final String sapInstanceNumber()
The SAP instance number of the application.
- Returns:
- The SAP instance number of the application.
-
sid
public final String sid()
The System ID of the application.
- Returns:
- The System ID of the application.
-
hasTags
public final boolean hasTags()
For responses, this returns true if the service returned a value for the Tags 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.
-
tags
public final Map<String,String> tags()
The tags to be attached to the SAP application.
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
hasTags()method.- Returns:
- The tags to be attached to the SAP application.
-
hasCredentials
public final boolean hasCredentials()
For responses, this returns true if the service returned a value for the Credentials 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.
-
credentials
public final List<ApplicationCredential> credentials()
The credentials of the SAP application.
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
hasCredentials()method.- Returns:
- The credentials of the SAP application.
-
databaseArn
public final String databaseArn()
The Amazon Resource Name of the SAP HANA database.
- Returns:
- The Amazon Resource Name of the SAP HANA database.
-
toBuilder
public RegisterApplicationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RegisterApplicationRequest.Builder,RegisterApplicationRequest>- Specified by:
toBuilderin classSsmSapRequest
-
builder
public static RegisterApplicationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RegisterApplicationRequest.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
-
-