Interface PartnerEventSourceAccount.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PartnerEventSourceAccount.Builder,PartnerEventSourceAccount>,SdkBuilder<PartnerEventSourceAccount.Builder,PartnerEventSourceAccount>,SdkPojo
- Enclosing class:
- PartnerEventSourceAccount
public static interface PartnerEventSourceAccount.Builder extends SdkPojo, CopyableBuilder<PartnerEventSourceAccount.Builder,PartnerEventSourceAccount>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PartnerEventSourceAccount.Builderaccount(String account)The Amazon Web Services account ID that the partner event source was offered to.PartnerEventSourceAccount.BuildercreationTime(Instant creationTime)The date and time the event source was created.PartnerEventSourceAccount.BuilderexpirationTime(Instant expirationTime)The date and time that the event source will expire, if the Amazon Web Services account doesn't create a matching event bus for it.PartnerEventSourceAccount.Builderstate(String state)The state of the event source.PartnerEventSourceAccount.Builderstate(EventSourceState state)The state of the event source.-
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
-
account
PartnerEventSourceAccount.Builder account(String account)
The Amazon Web Services account ID that the partner event source was offered to.
- Parameters:
account- The Amazon Web Services account ID that the partner event source was offered to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
PartnerEventSourceAccount.Builder creationTime(Instant creationTime)
The date and time the event source was created.
- Parameters:
creationTime- The date and time the event source was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationTime
PartnerEventSourceAccount.Builder expirationTime(Instant expirationTime)
The date and time that the event source will expire, if the Amazon Web Services account doesn't create a matching event bus for it.
- Parameters:
expirationTime- The date and time that the event source will expire, if the Amazon Web Services account doesn't create a matching event bus for it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
PartnerEventSourceAccount.Builder state(String state)
The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.
- Parameters:
state- The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventSourceState,EventSourceState
-
state
PartnerEventSourceAccount.Builder state(EventSourceState state)
The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.
- Parameters:
state- The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventSourceState,EventSourceState
-
-