Interface GetRelayResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRelayResponse.Builder,GetRelayResponse>,MailManagerResponse.Builder,SdkBuilder<GetRelayResponse.Builder,GetRelayResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetRelayResponse
public static interface GetRelayResponse.Builder extends MailManagerResponse.Builder, SdkPojo, CopyableBuilder<GetRelayResponse.Builder,GetRelayResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetRelayResponse.Builderauthentication(Consumer<RelayAuthentication.Builder> authentication)The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.GetRelayResponse.Builderauthentication(RelayAuthentication authentication)The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.GetRelayResponse.BuildercreatedTimestamp(Instant createdTimestamp)The timestamp of when the relay was created.GetRelayResponse.BuilderlastModifiedTimestamp(Instant lastModifiedTimestamp)The timestamp of when relay was last updated.GetRelayResponse.BuilderrelayArn(String relayArn)The Amazon Resource Name (ARN) of the relay.GetRelayResponse.BuilderrelayId(String relayId)The unique relay identifier.GetRelayResponse.BuilderrelayName(String relayName)The unique name of the relay.GetRelayResponse.BuilderserverName(String serverName)The destination relay server address.GetRelayResponse.BuilderserverPort(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
authentication
GetRelayResponse.Builder authentication(RelayAuthentication 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.Builderavoiding the need to create one manually viaRelayAuthentication.builder().When the
Consumercompletes,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:
authentication(RelayAuthentication)
-
createdTimestamp
GetRelayResponse.Builder createdTimestamp(Instant 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
GetRelayResponse.Builder lastModifiedTimestamp(Instant 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
GetRelayResponse.Builder relayArn(String 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
GetRelayResponse.Builder relayId(String 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
GetRelayResponse.Builder relayName(String 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
GetRelayResponse.Builder serverName(String 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
GetRelayResponse.Builder serverPort(Integer 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.
-
-