@Override public ListTargetsByRuleRequest build() { return new ListTargetsByRuleRequest(this); } }
return listTargetsByRule(ListTargetsByRuleRequest.builder().applyMutation(listTargetsByRuleRequest).build());
throws ResourceNotFoundException, InternalException, AwsServiceException, SdkClientException, CloudWatchEventsException { return listTargetsByRule(ListTargetsByRuleRequest.builder().applyMutation(listTargetsByRuleRequest).build());
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof ListTargetsByRuleRequest)) { return false; } ListTargetsByRuleRequest other = (ListTargetsByRuleRequest) obj; return Objects.equals(rule(), other.rule()) && Objects.equals(nextToken(), other.nextToken()) && Objects.equals(limit(), other.limit()); }
throws ResourceNotFoundException, InternalException, AwsServiceException, SdkClientException, CloudWatchEventsException { return listTargetsByRule(ListTargetsByRuleRequest.builder().applyMutation(listTargetsByRuleRequest).build());
@Override public ListTargetsByRuleRequest build() { return new ListTargetsByRuleRequest(this); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof ListTargetsByRuleRequest)) { return false; } ListTargetsByRuleRequest other = (ListTargetsByRuleRequest) obj; return Objects.equals(rule(), other.rule()) && Objects.equals(nextToken(), other.nextToken()) && Objects.equals(limit(), other.limit()); }
throws ResourceNotFoundException, InternalException, AwsServiceException, SdkClientException, CloudWatchEventsException { return listTargetsByRule(ListTargetsByRuleRequest.builder().applyMutation(listTargetsByRuleRequest).build());
@Override public ListTargetsByRuleRequest build() { return new ListTargetsByRuleRequest(this); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof ListTargetsByRuleRequest)) { return false; } ListTargetsByRuleRequest other = (ListTargetsByRuleRequest) obj; return Objects.equals(rule(), other.rule()) && Objects.equals(nextToken(), other.nextToken()) && Objects.equals(limit(), other.limit()); }
return listTargetsByRule(ListTargetsByRuleRequest.builder().applyMutation(listTargetsByRuleRequest).build());
return listTargetsByRule(ListTargetsByRuleRequest.builder().applyMutation(listTargetsByRuleRequest).build());
/** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. */ @Override public String toString() { return ToString.builder("ListTargetsByRuleRequest").add("Rule", rule()).add("NextToken", nextToken()) .add("Limit", limit()).build(); }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "Rule": return Optional.ofNullable(clazz.cast(rule())); case "NextToken": return Optional.ofNullable(clazz.cast(nextToken())); case "Limit": return Optional.ofNullable(clazz.cast(limit())); default: return Optional.empty(); } }
/** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. */ @Override public String toString() { return ToString.builder("ListTargetsByRuleRequest").add("Rule", rule()).add("NextToken", nextToken()) .add("Limit", limit()).build(); }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "Rule": return Optional.ofNullable(clazz.cast(rule())); case "NextToken": return Optional.ofNullable(clazz.cast(nextToken())); case "Limit": return Optional.ofNullable(clazz.cast(limit())); default: return Optional.empty(); } }