primaryEmail
Retrieves the primary email address associated with the specified account.
- Returns:
- Retrieves the primary email address associated with the specified account.
SdkPojo
, ToCopyableBuilder<GetPrimaryEmailResponse.Builder,GetPrimaryEmailResponse>
builder()
final boolean
final boolean
equalsBySdkFields(Object obj)
final <T> Optional<T>
getValueForField(String fieldName,
Class<T> clazz)
SdkResponse
.final int
hashCode()
final String
static Class<? extends GetPrimaryEmailResponse.Builder>
final String
toString()
responseMetadata
sdkHttpResponse
copy
Retrieves the primary email address associated with the specified account.
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetPrimaryEmailResponse.Builder,GetPrimaryEmailResponse>
toBuilder
in class AwsResponse
hashCode
in class AwsResponse
equals
in class AwsResponse
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withSdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.sdkFieldNameToField
in interface SdkPojo