Interface GetRelayResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetRelayResponse.Builder,
,GetRelayResponse> MailManagerResponse.Builder
,SdkBuilder<GetRelayResponse.Builder,
,GetRelayResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetRelayResponse
@Mutable
@NotThreadSafe
public static interface GetRelayResponse.Builder
extends MailManagerResponse.Builder, SdkPojo, CopyableBuilder<GetRelayResponse.Builder,GetRelayResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetRelayResponse.Builder
authentication
(Consumer<RelayAuthentication.Builder> authentication) The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.authentication
(RelayAuthentication authentication) The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.createdTimestamp
(Instant createdTimestamp) The timestamp of when the relay was created.lastModifiedTimestamp
(Instant lastModifiedTimestamp) The timestamp of when relay was last updated.The Amazon Resource Name (ARN) of the relay.The unique relay identifier.The unique name of the relay.serverName
(String serverName) The destination relay server address.serverPort
(Integer serverPort) The destination relay server port.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mailmanager.model.MailManagerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
authentication
The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.
- Parameters:
authentication
- The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authentication
default GetRelayResponse.Builder authentication(Consumer<RelayAuthentication.Builder> authentication) The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.
This is a convenience method that creates an instance of theRelayAuthentication.Builder
avoiding the need to create one manually viaRelayAuthentication.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthentication(RelayAuthentication)
.- Parameters:
authentication
- a consumer that will call methods onRelayAuthentication.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTimestamp
The timestamp of when the relay was created.
- Parameters:
createdTimestamp
- The timestamp of when the relay was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTimestamp
The timestamp of when relay was last updated.
- Parameters:
lastModifiedTimestamp
- The timestamp of when relay was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relayArn
The Amazon Resource Name (ARN) of the relay.
- Parameters:
relayArn
- The Amazon Resource Name (ARN) of the relay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relayId
The unique relay identifier.
- Parameters:
relayId
- The unique relay identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relayName
The unique name of the relay.
- Parameters:
relayName
- The unique name of the relay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverName
The destination relay server address.
- Parameters:
serverName
- The destination relay server address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverPort
The destination relay server port.
- Parameters:
serverPort
- The destination relay server port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-