Interface Subscription.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Subscription.Builder,Subscription>
,SdkBuilder<Subscription.Builder,Subscription>
,SdkPojo
- Enclosing class:
- Subscription
public static interface Subscription.Builder extends SdkPojo, CopyableBuilder<Subscription.Builder,Subscription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Subscription.Builder
endpoint(String endpoint)
The subscription's endpoint (format depends on the protocol).Subscription.Builder
owner(String owner)
The subscription's owner.Subscription.Builder
protocol(String protocol)
The subscription's protocol.Subscription.Builder
subscriptionArn(String subscriptionArn)
The subscription's ARN.Subscription.Builder
topicArn(String topicArn)
The ARN of the subscription's topic.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
subscriptionArn
Subscription.Builder subscriptionArn(String subscriptionArn)
The subscription's ARN.
- Parameters:
subscriptionArn
- The subscription's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
Subscription.Builder owner(String owner)
The subscription's owner.
- Parameters:
owner
- The subscription's owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
Subscription.Builder protocol(String protocol)
The subscription's protocol.
- Parameters:
protocol
- The subscription's protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
Subscription.Builder endpoint(String endpoint)
The subscription's endpoint (format depends on the protocol).
- Parameters:
endpoint
- The subscription's endpoint (format depends on the protocol).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicArn
Subscription.Builder topicArn(String topicArn)
The ARN of the subscription's topic.
- Parameters:
topicArn
- The ARN of the subscription's topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-