Interface GetEventBridgeRuleTemplateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetEventBridgeRuleTemplateResponse.Builder,
,GetEventBridgeRuleTemplateResponse> MediaLiveResponse.Builder
,SdkBuilder<GetEventBridgeRuleTemplateResponse.Builder,
,GetEventBridgeRuleTemplateResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetEventBridgeRuleTemplateResponse
public static interface GetEventBridgeRuleTemplateResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<GetEventBridgeRuleTemplateResponse.Builder,GetEventBridgeRuleTemplateResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn eventbridge rule template's ARN (Amazon Resource Name)Sets the value of the CreatedAt property for this object.description
(String description) A resource's optional description.eventTargets
(Collection<EventBridgeRuleTemplateTarget> eventTargets) Sets the value of the EventTargets property for this object.eventTargets
(Consumer<EventBridgeRuleTemplateTarget.Builder>... eventTargets) Sets the value of the EventTargets property for this object.eventTargets
(EventBridgeRuleTemplateTarget... eventTargets) Sets the value of the EventTargets property for this object.Sets the value of the EventType property for this object.eventType
(EventBridgeRuleTemplateEventType eventType) Sets the value of the EventType property for this object.An eventbridge rule template group's id.An eventbridge rule template's id.modifiedAt
(Instant modifiedAt) Sets the value of the ModifiedAt property for this object.A resource's name.Sets the value of the Tags property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.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 Details
-
arn
An eventbridge rule template's ARN (Amazon Resource Name)- Parameters:
arn
- An eventbridge rule template's ARN (Amazon Resource Name)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Sets the value of the CreatedAt property for this object.- Parameters:
createdAt
- The new value for the CreatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A resource's optional description.- Parameters:
description
- A resource's optional description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTargets
GetEventBridgeRuleTemplateResponse.Builder eventTargets(Collection<EventBridgeRuleTemplateTarget> eventTargets) Sets the value of the EventTargets property for this object.- Parameters:
eventTargets
- The new value for the EventTargets property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTargets
GetEventBridgeRuleTemplateResponse.Builder eventTargets(EventBridgeRuleTemplateTarget... eventTargets) Sets the value of the EventTargets property for this object.- Parameters:
eventTargets
- The new value for the EventTargets property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTargets
GetEventBridgeRuleTemplateResponse.Builder eventTargets(Consumer<EventBridgeRuleTemplateTarget.Builder>... eventTargets) Sets the value of the EventTargets property for this object. This is a convenience method that creates an instance of theEventBridgeRuleTemplateTarget.Builder
avoiding the need to create one manually viaEventBridgeRuleTemplateTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventTargets(List<EventBridgeRuleTemplateTarget>)
.- Parameters:
eventTargets
- a consumer that will call methods onEventBridgeRuleTemplateTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventType
Sets the value of the EventType property for this object.- Parameters:
eventType
- The new value for the EventType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventType
Sets the value of the EventType property for this object.- Parameters:
eventType
- The new value for the EventType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupId
An eventbridge rule template group's id. AWS provided template groups have ids that start with `aws-`- Parameters:
groupId
- An eventbridge rule template group's id. AWS provided template groups have ids that start with `aws-`- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
An eventbridge rule template's id. AWS provided templates have ids that start with `aws-`- Parameters:
id
- An eventbridge rule template's id. AWS provided templates have ids that start with `aws-`- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
Sets the value of the ModifiedAt property for this object.- Parameters:
modifiedAt
- The new value for the ModifiedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A resource's name. Names must be unique within the scope of a resource type in a specific region.- Parameters:
name
- A resource's name. Names must be unique within the scope of a resource type in a specific region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-