Class GetRelayResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.mailmanager.model.MailManagerResponse
-
- software.amazon.awssdk.services.mailmanager.model.GetRelayResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetRelayResponse.Builder,GetRelayResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetRelayResponse extends MailManagerResponse implements ToCopyableBuilder<GetRelayResponse.Builder,GetRelayResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetRelayResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RelayAuthenticationauthentication()The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.static GetRelayResponse.Builderbuilder()InstantcreatedTimestamp()The timestamp of when the relay was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedTimestamp()The timestamp of when relay was last updated.StringrelayArn()The Amazon Resource Name (ARN) of the relay.StringrelayId()The unique relay identifier.StringrelayName()The unique name of the relay.List<SdkField<?>>sdkFields()static Class<? extends GetRelayResponse.Builder>serializableBuilderClass()StringserverName()The destination relay server address.IntegerserverPort()The destination relay server port.GetRelayResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.mailmanager.model.MailManagerResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
authentication
public final RelayAuthentication authentication()
The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.
- Returns:
- The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.
-
createdTimestamp
public final Instant createdTimestamp()
The timestamp of when the relay was created.
- Returns:
- The timestamp of when the relay was created.
-
lastModifiedTimestamp
public final Instant lastModifiedTimestamp()
The timestamp of when relay was last updated.
- Returns:
- The timestamp of when relay was last updated.
-
relayArn
public final String relayArn()
The Amazon Resource Name (ARN) of the relay.
- Returns:
- The Amazon Resource Name (ARN) of the relay.
-
relayId
public final String relayId()
The unique relay identifier.
- Returns:
- The unique relay identifier.
-
relayName
public final String relayName()
The unique name of the relay.
- Returns:
- The unique name of the relay.
-
serverName
public final String serverName()
The destination relay server address.
- Returns:
- The destination relay server address.
-
serverPort
public final Integer serverPort()
The destination relay server port.
- Returns:
- The destination relay server port.
-
toBuilder
public GetRelayResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetRelayResponse.Builder,GetRelayResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetRelayResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetRelayResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-