Interface DescribeEventSourceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEventSourceResponse.Builder,DescribeEventSourceResponse>,EventBridgeResponse.Builder,SdkBuilder<DescribeEventSourceResponse.Builder,DescribeEventSourceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeEventSourceResponse
public static interface DescribeEventSourceResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<DescribeEventSourceResponse.Builder,DescribeEventSourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeEventSourceResponse.Builderarn(String arn)The ARN of the partner event source.DescribeEventSourceResponse.BuildercreatedBy(String createdBy)The name of the SaaS partner that created the event source.DescribeEventSourceResponse.BuildercreationTime(Instant creationTime)The date and time that the event source was created.DescribeEventSourceResponse.BuilderexpirationTime(Instant expirationTime)The date and time that the event source will expire if you do not create a matching event bus.DescribeEventSourceResponse.Buildername(String name)The name of the partner event source.DescribeEventSourceResponse.Builderstate(String state)The state of the event source.DescribeEventSourceResponse.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.services.eventbridge.model.EventBridgeResponse.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
-
arn
DescribeEventSourceResponse.Builder arn(String arn)
The ARN of the partner event source.
- Parameters:
arn- The ARN of the partner event source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
DescribeEventSourceResponse.Builder createdBy(String createdBy)
The name of the SaaS partner that created the event source.
- Parameters:
createdBy- The name of the SaaS partner that created the event source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
DescribeEventSourceResponse.Builder creationTime(Instant creationTime)
The date and time that the event source was created.
- Parameters:
creationTime- The date and time that the event source was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationTime
DescribeEventSourceResponse.Builder expirationTime(Instant expirationTime)
The date and time that the event source will expire if you do not create a matching event bus.
- Parameters:
expirationTime- The date and time that the event source will expire if you do not create a matching event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
DescribeEventSourceResponse.Builder name(String name)
The name of the partner event source.
- Parameters:
name- The name of the partner event source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
DescribeEventSourceResponse.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
DescribeEventSourceResponse.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
-
-