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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetEventBridgeRuleTemplateResponse.Builderarn(String arn)An eventbridge rule template's ARN (Amazon Resource Name)GetEventBridgeRuleTemplateResponse.BuildercreatedAt(Instant createdAt)Sets the value of the CreatedAt property for this object.GetEventBridgeRuleTemplateResponse.Builderdescription(String description)A resource's optional description.GetEventBridgeRuleTemplateResponse.BuildereventTargets(Collection<EventBridgeRuleTemplateTarget> eventTargets)Sets the value of the EventTargets property for this object.GetEventBridgeRuleTemplateResponse.BuildereventTargets(Consumer<EventBridgeRuleTemplateTarget.Builder>... eventTargets)Sets the value of the EventTargets property for this object.GetEventBridgeRuleTemplateResponse.BuildereventTargets(EventBridgeRuleTemplateTarget... eventTargets)Sets the value of the EventTargets property for this object.GetEventBridgeRuleTemplateResponse.BuildereventType(String eventType)Sets the value of the EventType property for this object.GetEventBridgeRuleTemplateResponse.BuildereventType(EventBridgeRuleTemplateEventType eventType)Sets the value of the EventType property for this object.GetEventBridgeRuleTemplateResponse.BuildergroupId(String groupId)An eventbridge rule template group's id.GetEventBridgeRuleTemplateResponse.Builderid(String id)An eventbridge rule template's id.GetEventBridgeRuleTemplateResponse.BuildermodifiedAt(Instant modifiedAt)Sets the value of the ModifiedAt property for this object.GetEventBridgeRuleTemplateResponse.Buildername(String name)A resource's name.GetEventBridgeRuleTemplateResponse.Buildertags(Map<String,String> tags)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
GetEventBridgeRuleTemplateResponse.Builder arn(String 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
GetEventBridgeRuleTemplateResponse.Builder createdAt(Instant 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
GetEventBridgeRuleTemplateResponse.Builder description(String 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.Builderavoiding the need to create one manually viaEventBridgeRuleTemplateTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#eventTargets(List.) - 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:
#eventTargets(java.util.Collection)
-
eventType
GetEventBridgeRuleTemplateResponse.Builder eventType(String 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:
EventBridgeRuleTemplateEventType,EventBridgeRuleTemplateEventType
-
eventType
GetEventBridgeRuleTemplateResponse.Builder eventType(EventBridgeRuleTemplateEventType 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:
EventBridgeRuleTemplateEventType,EventBridgeRuleTemplateEventType
-
groupId
GetEventBridgeRuleTemplateResponse.Builder groupId(String 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
GetEventBridgeRuleTemplateResponse.Builder id(String 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
GetEventBridgeRuleTemplateResponse.Builder modifiedAt(Instant 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
GetEventBridgeRuleTemplateResponse.Builder name(String 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
GetEventBridgeRuleTemplateResponse.Builder tags(Map<String,String> 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.
-
-