@Override public RemovePermissionRequest build() { return new RemovePermissionRequest(this); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof RemovePermissionRequest)) { return false; } RemovePermissionRequest other = (RemovePermissionRequest) obj; return Objects.equals(statementId(), other.statementId()); }
return removePermission(RemovePermissionRequest.builder().applyMutation(removePermissionRequest).build());
throws ResourceNotFoundException, InternalException, ConcurrentModificationException, AwsServiceException, SdkClientException, CloudWatchEventsException { return removePermission(RemovePermissionRequest.builder().applyMutation(removePermissionRequest).build());
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof RemovePermissionRequest)) { return false; } RemovePermissionRequest other = (RemovePermissionRequest) obj; return Objects.equals(statementId(), other.statementId()); }
throws ResourceNotFoundException, InternalException, ConcurrentModificationException, AwsServiceException, SdkClientException, CloudWatchEventsException { return removePermission(RemovePermissionRequest.builder().applyMutation(removePermissionRequest).build());
@Override public RemovePermissionRequest build() { return new RemovePermissionRequest(this); } }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(statementId()); return hashCode; }
return removePermission(RemovePermissionRequest.builder().applyMutation(removePermissionRequest).build());
@Override public RemovePermissionRequest build() { return new RemovePermissionRequest(this); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof RemovePermissionRequest)) { return false; } RemovePermissionRequest other = (RemovePermissionRequest) obj; return Objects.equals(statementId(), other.statementId()); }
return removePermission(RemovePermissionRequest.builder().applyMutation(removePermissionRequest).build());
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(statementId()); return hashCode; }
throws ResourceNotFoundException, InternalException, ConcurrentModificationException, AwsServiceException, SdkClientException, CloudWatchEventsException { return removePermission(RemovePermissionRequest.builder().applyMutation(removePermissionRequest).build());
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(statementId()); return hashCode; }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "StatementId": return Optional.ofNullable(clazz.cast(statementId())); 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("RemovePermissionRequest").add("StatementId", statementId()).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("RemovePermissionRequest").add("StatementId", statementId()).build(); }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "StatementId": return Optional.ofNullable(clazz.cast(statementId())); default: return Optional.empty(); } }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "StatementId": return Optional.ofNullable(clazz.cast(statementId())); default: return Optional.empty(); } }