
com.amazonaws.codegen.model.service.Operation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-code-generator Show documentation
Show all versions of aws-java-sdk-code-generator Show documentation
The AWS SDK for Java - Code Generator module holds the classes and templates required to generate the AWS Java SDK clients for AWS services.
/*
* Copyright (c) 2016. Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.codegen.model.service;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.util.List;
public class Operation {
private String name;
private boolean deprecated;
private Http http;
private Input input;
private Output output;
private String documentation;
private List errors;
@JsonProperty("authtype")
@JsonDeserialize(using = AuthTypeDeserializer.class)
private AuthType authType;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Operation withName(String name) {
this.name = name;
return this;
}
public boolean isDeprecated() {
return deprecated;
}
public void setDeprecated(boolean deprecated) {
this.deprecated = deprecated;
}
public Http getHttp() {
return http;
}
public void setHttp(Http http) {
this.http = http;
}
public Operation withHttp(Http http) {
this.http = http;
return this;
}
public Input getInput() {
return input;
}
public Operation withInput(Input input) {
this.input = input;
return this;
}
public void setInput(Input input) {
this.input = input;
}
public Output getOutput() {
return output;
}
public void setOutput(Output output) {
this.output = output;
}
public String getDocumentation() {
return documentation;
}
public void setDocumentation(String documentation) {
this.documentation = documentation;
}
public List getErrors() {
return errors;
}
public void setErrors(List errors) {
this.errors = errors;
}
public AuthType getAuthType() {
return authType;
}
public void setAuthType(AuthType authType) {
this.authType = authType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy